diff options
author | mva <mva@FreeBSD.org> | 2014-06-19 14:06:10 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-06-19 14:06:10 +0800 |
commit | fb8634d1f2cff78e1d4cf0c53dd8fcb07cdd653f (patch) | |
tree | 4a2cf5e38e5bce530d63607253ad0e4ebe059438 /www | |
parent | 3ae4c70e0feea30c71ec5bc03740935ad337fb94 (diff) | |
download | freebsd-ports-gnome-fb8634d1f2cff78e1d4cf0c53dd8fcb07cdd653f.tar.gz freebsd-ports-gnome-fb8634d1f2cff78e1d4cf0c53dd8fcb07cdd653f.tar.zst freebsd-ports-gnome-fb8634d1f2cff78e1d4cf0c53dd8fcb07cdd653f.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-math/Makefile | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/www/trac-math/Makefile b/www/trac-math/Makefile index 0730c60cf75a..fab5b7d01138 100644 --- a/www/trac-math/Makefile +++ b/www/trac-math/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ -PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl} +PORTNAME= math PORTVERSION= 0.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www math python MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks @@ -17,10 +17,9 @@ USE_TEX= latex SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install -PYDISTUTILS_PKGNAME= TracMath -PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes post-install: ${CAT} ${PKGMESSAGE} @@ -38,15 +37,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> |