2004-05-07 22:33:55 +00:00
|
|
|
# New ports collection makefile for: gaphor
|
|
|
|
# Date created: 06 August 2003
|
|
|
|
# Whom: rehsack@liwing.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gaphor
|
2006-04-13 15:18:23 +00:00
|
|
|
PORTVERSION= 0.7.1
|
2004-05-07 22:33:55 +00:00
|
|
|
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
|
|
|
|
|
2006-04-13 15:18:23 +00:00
|
|
|
BUILD_DEPENDS= diacanvas2>=0:${PORTSDIR}/graphics/diacanvas2
|
2004-05-07 22:33:55 +00:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2005-01-01 22:21:26 +00:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
2004-07-23 19:10:32 +00:00
|
|
|
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
|
2004-05-07 22:33:55 +00:00
|
|
|
.endif
|
|
|
|
|
2005-01-01 22:21:26 +00:00
|
|
|
USE_PYTHON= 2.2+
|
|
|
|
|
2004-05-07 22:33:55 +00:00
|
|
|
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
|
2005-02-01 12:54:04 +00:00
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}
|
2004-05-07 22:33:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|