aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-10-31 03:42:39 +0800
committerrm <rm@FreeBSD.org>2012-10-31 03:42:39 +0800
commitfd014f86639779b7a90383589c406a6f96149f16 (patch)
tree46e5bcf35d4855673b0563e5d05ad92e8cad29dd /www
parent2bee844ea0ec3a09b3f3be669d282c5159ff065a (diff)
downloadfreebsd-ports-gnome-fd014f86639779b7a90383589c406a6f96149f16.tar.gz
freebsd-ports-gnome-fd014f86639779b7a90383589c406a6f96149f16.tar.zst
freebsd-ports-gnome-fd014f86639779b7a90383589c406a6f96149f16.zip
- remove direct setuptools dependency
- no PORTREVISION bump is needed, because it already depend on it via USE_DISTUTILS - trim Makefile header - remove indefinite article in COMMENT - limit python version to 2.x only - move pkg-plist contents into Makefile:PLIST_FILES PR: 173165 Submitted by: rm (myself) Approved by: brooks (maintainer, by mail) Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/trac-discussion/Makefile14
-rw-r--r--www/trac-discussion/pkg-plist1
2 files changed, 5 insertions, 10 deletions
diff --git a/www/trac-discussion/Makefile b/www/trac-discussion/Makefile
index 960628f47ae3..fac02c127a1e 100644
--- a/www/trac-discussion/Makefile
+++ b/www/trac-discussion/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: trac-discussion
-# Date created: March 23, 2010
-# Whom: Brooks Davis <brooks@freebsd.org>
-#
+# Created by: Brooks Davis <brooks@freebsd.org>
# $FreeBSD$
-#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 0.7
@@ -14,15 +10,15 @@ MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
MAINTAINER= brooks@FreeBSD.org
-COMMENT= A discussion forum plugin for Trac
+COMMENT= Discussion forum plugin for Trac
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
trac-TracSpamFilter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
-USE_PYTHON= yes
-USE_PYDISTUTILS=easy_install
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracDiscussion
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
# Maintainter targets below this point
diff --git a/www/trac-discussion/pkg-plist b/www/trac-discussion/pkg-plist
deleted file mode 100644
index ddf68a1c022f..000000000000
--- a/www/trac-discussion/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%