aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-wantedpages
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-10-27 02:51:38 +0800
committerrm <rm@FreeBSD.org>2012-10-27 02:51:38 +0800
commite738c95798b8f59be55f9b32510eb4712920293b (patch)
tree6df0a80a59841d2cee75c71a360e0ed8934eec19 /www/trac-wantedpages
parent53f595cee72cdced2445e0a020c4e239fe970899 (diff)
downloadfreebsd-ports-gnome-e738c95798b8f59be55f9b32510eb4712920293b.tar.gz
freebsd-ports-gnome-e738c95798b8f59be55f9b32510eb4712920293b.tar.zst
freebsd-ports-gnome-e738c95798b8f59be55f9b32510eb4712920293b.zip
- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change - move pkg-plist contents into Makefile:PLIST_FILES - trim Makefile header - limit python version to 2.x only PR: 173061 Submitted by: rm (myself) Approved by: glarkin (maintainer, by mail) Feature safe: yes
Diffstat (limited to 'www/trac-wantedpages')
-rw-r--r--www/trac-wantedpages/Makefile18
-rw-r--r--www/trac-wantedpages/pkg-plist1
2 files changed, 6 insertions, 13 deletions
diff --git a/www/trac-wantedpages/Makefile b/www/trac-wantedpages/Makefile
index ba5f6d7f06c0..3e6f2418814a 100644
--- a/www/trac-wantedpages/Makefile
+++ b/www/trac-wantedpages/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-wantedpages
-# Date created: May 18 2007
-# Whom: Gerrit Beine <gerrit.beine@gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
-#
PORTNAME= wantedpages
PORTVERSION= 0.3
-PORTREVISION= 3
+PORTREVISION= 4
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= Shows wanted wiki pages
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
-NO_BUILD= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= WantedPages
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>
diff --git a/www/trac-wantedpages/pkg-plist b/www/trac-wantedpages/pkg-plist
deleted file mode 100644
index 79f24cdb870b..000000000000
--- a/www/trac-wantedpages/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/WantedPages-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg