diff options
author | mva <mva@FreeBSD.org> | 2014-06-18 04:52:50 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-06-18 04:52:50 +0800 |
commit | 7a50edd153bb3d97dac2f5bf8b45846064bc0a00 (patch) | |
tree | 0835b871d684e68e1fba8e6e820e63395bfc333c /www | |
parent | 1a723dc69252ba73f6fbe555f4a24f5ff5e592f1 (diff) | |
download | freebsd-ports-gnome-7a50edd153bb3d97dac2f5bf8b45846064bc0a00.tar.gz freebsd-ports-gnome-7a50edd153bb3d97dac2f5bf8b45846064bc0a00.tar.zst freebsd-ports-gnome-7a50edd153bb3d97dac2f5bf8b45846064bc0a00.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)
Diffstat (limited to 'www')
-rw-r--r-- | www/trac-ticketimport/Makefile | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/www/trac-ticketimport/Makefile b/www/trac-ticketimport/Makefile index f774f3e3758a..1bc8a536abe1 100644 --- a/www/trac-ticketimport/Makefile +++ b/www/trac-ticketimport/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ -PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl} +PORTNAME= ticketimport PORTVERSION= 0.7c -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www devel python MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks @@ -15,9 +15,8 @@ RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \ ${PYTHON_PKGNAMEPREFIX}xlrd>=0.7.1:${PORTSDIR}/textproc/py-xlrd USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install -PYDISTUTILS_PKGNAME= TicketImport -PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +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> |