aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-11-11 22:31:08 +0800
committerrm <rm@FreeBSD.org>2012-11-11 22:31:08 +0800
commit96205cba5e21eb5cfcd3cabd6ce09a7e3b32853a (patch)
treebbc1d3e5fb2e87025f406be46585c34f33f7439d /www
parent837bbe99679295fabfc3bf64146b50c7b2a90441 (diff)
downloadfreebsd-ports-gnome-96205cba5e21eb5cfcd3cabd6ce09a7e3b32853a.tar.gz
freebsd-ports-gnome-96205cba5e21eb5cfcd3cabd6ce09a7e3b32853a.tar.zst
freebsd-ports-gnome-96205cba5e21eb5cfcd3cabd6ce09a7e3b32853a.zip
- remove direct setuptools dependency
- no PORTREVISION bump is needed, because it is already depending on it via USE_DISTUTILS - trim Makefile header (completely) - limit python version to 2.x only - move pkg-plist contents into Makefile:PLIST_FILES PR: 173161 Submitted by: rm (myself) Approved by: kuriyama (maintainer, by mail) Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/trac-accountmanager/Makefile14
-rw-r--r--www/trac-accountmanager/pkg-plist1
2 files changed, 2 insertions, 13 deletions
diff --git a/www/trac-accountmanager/Makefile b/www/trac-accountmanager/Makefile
index f9b512ba70d4..1dd5f8a0df6c 100644
--- a/www/trac-accountmanager/Makefile
+++ b/www/trac-accountmanager/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: trac-accountmanager
-# Date created: 17 Feb 2006
-# Whom: kuriyama@FreeBSD.org
-#
# $FreeBSD$
-#
PORTNAME= accountmanager
PORTVERSION= 0.4.${REV}
@@ -18,23 +13,18 @@ DIST_SUBDIR= trac
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Account Manager Plugin for trac
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= tracd:${PORTSDIR}/www/trac
FETCH_BEFORE_ARGS= -o ${DISTFILES}
REV= 11722
USE_ZIP= yes
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracAccountManager
PYDISTUTILS_PKGVERSION= 0.4dev
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
WRKSRC= ${WRKDIR}/accountmanagerplugin/trunk
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
-
-pre-build:
- cd ${WRKSRC} && ${PYTHON_CMD} setup.py bdist_egg
-
# --- trac.ini
# [components]
# acct_mgr.* = enabled
diff --git a/www/trac-accountmanager/pkg-plist b/www/trac-accountmanager/pkg-plist
deleted file mode 100644
index ddf68a1c022f..000000000000
--- a/www/trac-accountmanager/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%