aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-bzr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/trac-bzr/Makefile')
-rw-r--r--www/trac-bzr/Makefile27
1 files changed, 9 insertions, 18 deletions
diff --git a/www/trac-bzr/Makefile b/www/trac-bzr/Makefile
index fc63d504f49..c79592557cd 100644
--- a/www/trac-bzr/Makefile
+++ b/www/trac-bzr/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-bzr
-# Date created: 2007-03-30
-# Whom: Radim Kolar <hsn@sanatana.dharma>
-#
+# Created by: Radim Kolar <hsn@sanatana.dharma>
# $FreeBSD$
-#
PORTNAME= bzr
PORTVERSION= 20110228
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://schema.filez.com/distfiles/
PKGNAMEPREFIX= trac-
@@ -18,20 +14,15 @@ COMMENT= Bazaar-NG plugin for Trac
LICENSE= GPLv2
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= tracd:${PORTSDIR}/www/trac bzr:${PORTSDIR}/devel/bzr
-
-USE_PYTHON= -2.7
-USE_PYDISTUTILS= yes
-PYDISTUTILS_NOEGGINFO= yes
+RUN_DEPENDS= tracd:${PORTSDIR}/www/trac \
+ bzr:${PORTSDIR}/devel/bzr
USE_BZIP2= yes
-
-PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
- PYTRAC_BZR_EGG=${PYTRAC_BZR_EGG}
-
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
-PYTRAC_BZR_EGG= TracBzr-0.4.2-py${PYTHON_VER}.egg
+USE_PYTHON= -2.7
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_PKGNAME= TracBzr
+PYDISTUTILS_PKGVERSION= 0.4.2
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-patch:
${REINPLACE_CMD} -e 's|tag_date = 1||' ${WRKSRC}/setup.cfg