aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-10-27 02:50:44 +0800
committerrm <rm@FreeBSD.org>2012-10-27 02:50:44 +0800
commit53f595cee72cdced2445e0a020c4e239fe970899 (patch)
treecc0164236c2e362cbbc62fc20c171ec96674883a
parentc15fb85ab5f42dc0822e378323fec6f7067e64ca (diff)
downloadfreebsd-ports-gnome-53f595cee72cdced2445e0a020c4e239fe970899.tar.gz
freebsd-ports-gnome-53f595cee72cdced2445e0a020c4e239fe970899.tar.zst
freebsd-ports-gnome-53f595cee72cdced2445e0a020c4e239fe970899.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 PR: 173057 Submitted by: rm (myself) Approved by: glarkin (maintainer, by mail) Feature safe: yes
-rw-r--r--www/trac-simpleticket/Makefile18
-rw-r--r--www/trac-simpleticket/pkg-plist1
2 files changed, 6 insertions, 13 deletions
diff --git a/www/trac-simpleticket/Makefile b/www/trac-simpleticket/Makefile
index f9923d6ca306..1ef995041593 100644
--- a/www/trac-simpleticket/Makefile
+++ b/www/trac-simpleticket/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-simpleticket
-# Date created: May 18 2007
-# Whom: Gerrit Beine <gerrit.beine@gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$
-#
PORTNAME= simpleticket
PORTVERSION= 1.1.3
-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= Simplified Ticket Entry
-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= TracSimpleTicket
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>
diff --git a/www/trac-simpleticket/pkg-plist b/www/trac-simpleticket/pkg-plist
deleted file mode 100644
index 908ba17e56ba..000000000000
--- a/www/trac-simpleticket/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracSimpleTicket-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg