aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-06-19 14:32:49 +0800
committermva <mva@FreeBSD.org>2014-06-19 14:32:49 +0800
commita176b4a5ea7f384b5a84419e97f398ad8df9f14d (patch)
treebc5734b1c8a5e8a46139b165db0649022a3d4c38
parent127b4f588ac8c9454a52a69950b86e9237a5c8e1 (diff)
downloadfreebsd-ports-gnome-a176b4a5ea7f384b5a84419e97f398ad8df9f14d.tar.gz
freebsd-ports-gnome-a176b4a5ea7f384b5a84419e97f398ad8df9f14d.tar.zst
freebsd-ports-gnome-a176b4a5ea7f384b5a84419e97f398ad8df9f14d.zip
- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST - Bump PORTREVISION to enforce a cleanup for the easy_install references With hat: python@ Approved by: portmgr (implicit)
-rw-r--r--www/trac-discussion/Makefile23
1 files changed, 6 insertions, 17 deletions
diff --git a/www/trac-discussion/Makefile b/www/trac-discussion/Makefile
index f6b138dd063f..86f6ec2c5fc5 100644
--- a/www/trac-discussion/Makefile
+++ b/www/trac-discussion/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
-PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
+PORTNAME= discussion
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -14,10 +14,9 @@ COMMENT= Discussion forum plugin for Trac
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
trac-TracSpamFilter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
-USE_PYTHON= 2
-USE_PYDISTUTILS= easy_install
-PYDISTUTILS_PKGNAME= TracDiscussion
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
# Maintainter targets below this point
@@ -32,15 +31,5 @@ do-fetch:
cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
-# Create a pkg-plist after the package is installed.
-EGGDIR= ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
-PLIST_EGGDIR= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-build-plist:
- ${FIND} ${EGGDIR} -type f | \
- ${SED} -e 's|${EGGDIR}|${PLIST_EGGDIR}|' | \
- ${SORT} > pkg-plist
- ${FIND} ${EGGDIR} -type d | \
- ${SED} -e 's|${EGGDIR}|@dirrm ${PLIST_EGGDIR}|' | \
- ${SORT} -r >> pkg-plist
-
+.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>