mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
d532038c00
PR: ports/90867 Submitted by: Boris B. Samorodov <bsam@ipt.ru> Approved by: maintainer feedback timeout (100+ days)
37 lines
929 B
Makefile
37 lines
929 B
Makefile
# New ports collection makefile for: gaphor
|
|
# Date created: 06 August 2003
|
|
# Whom: rehsack@liwing.de
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gaphor
|
|
PORTVERSION= 0.7.1
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= rehsack@liwing.de
|
|
COMMENT= UML modeling environment written in Python
|
|
|
|
BUILD_DEPENDS= diacanvas2>=0:${PORTSDIR}/graphics/diacanvas2
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
.if defined(PACKAGE_BUILDING)
|
|
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
|
|
.endif
|
|
|
|
USE_PYTHON= 2.2+
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${PYTHON_CMD} setup.py config
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}; ${PYTHON_CMD} setup.py build; ${PYTHON_CMD} setup.py build_mo
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}; ${PYTHON_CMD} setup.py install --install-data=${PREFIX}/share/gaphor; ${PYTHON_CMD} setup.py install_mo
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|