aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-hierwiki
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-10-28 02:50:32 +0800
committerrm <rm@FreeBSD.org>2012-10-28 02:50:32 +0800
commit2cc03981f0536e8f3a7d72eb464edd45fd5a2e9a (patch)
treec043d59518723e086f744e603c2cdfde0c12a6d8 /www/trac-hierwiki
parent9308aaa6d513475f2c22dc523360d1b2c783e53a (diff)
downloadfreebsd-ports-gnome-2cc03981f0536e8f3a7d72eb464edd45fd5a2e9a.tar.gz
freebsd-ports-gnome-2cc03981f0536e8f3a7d72eb464edd45fd5a2e9a.tar.zst
freebsd-ports-gnome-2cc03981f0536e8f3a7d72eb464edd45fd5a2e9a.zip
- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change - trim Makefile header - limit python version to 2.x only - move pkg-plist contents into Makefile:PLIST_FILES Approved by: glarkin (maintainer, implicit) Feature safe: yes
Diffstat (limited to 'www/trac-hierwiki')
-rw-r--r--www/trac-hierwiki/Makefile18
-rw-r--r--www/trac-hierwiki/pkg-plist1
2 files changed, 6 insertions, 13 deletions
diff --git a/www/trac-hierwiki/Makefile b/www/trac-hierwiki/Makefile
index e314c68791d2..6f0e5db9d853 100644
--- a/www/trac-hierwiki/Makefile
+++ b/www/trac-hierwiki/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-hierwiki
-# Date created: May 18 2007
-# Whom: Gerrit Beine <gerrit.beine@gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
-#
PORTNAME= hierwiki
PORTVERSION= 1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www devel python
MASTER_SITES= http://www.gerritbeine.de/download/trac/
PKGNAMEPREFIX= trac-
@@ -16,14 +12,12 @@ DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
MAINTAINER= glarkin@FreeBSD.org
COMMENT= Dealing with the trac wiki as a hierarchy
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
-NO_BUILD= yes
-USE_PYTHON= 2.5+
-USE_PYDISTUTILS=yes
-PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= TracHierWiki
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>
diff --git a/www/trac-hierwiki/pkg-plist b/www/trac-hierwiki/pkg-plist
deleted file mode 100644
index 49ab18516533..000000000000
--- a/www/trac-hierwiki/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracHierWiki-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg