1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/devel/gaphor/Makefile
Thomas Gellekum c5b56371c3 Upgrade to 0.7.0.1.
Approved by:	maintainer
2005-02-01 12:54:04 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: gaphor
# Date created: 06 August 2003
# Whom: rehsack@liwing.de
#
# $FreeBSD$
#
PORTNAME= gaphor
PORTVERSION= 0.7.0.1
#PORTREVISION= 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= ${PYTHON_SITELIBDIR}/diacanvas/_canvasmodule.so:${PORTSDIR}/graphics/diacanvas2
RUN_DEPENDS= ${BUILD_DEPENDS}
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
.endif
USE_PYTHON= 2.2+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\\.[0-9]+$//}
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>