aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2007-03-06 11:10:34 +0800
committerkuriyama <kuriyama@FreeBSD.org>2007-03-06 11:10:34 +0800
commitd5d81a7a83cb41372f202a903ff0f058aebb10cc (patch)
tree61043e75c2e93924f751cddd155fcad5202e7c35 /www
parentaeb5bd03d3c04f317b2f884a07ffae344441d5a6 (diff)
downloadfreebsd-ports-gnome-d5d81a7a83cb41372f202a903ff0f058aebb10cc.tar.gz
freebsd-ports-gnome-d5d81a7a83cb41372f202a903ff0f058aebb10cc.tar.zst
freebsd-ports-gnome-d5d81a7a83cb41372f202a903ff0f058aebb10cc.zip
- Upgrade to 0.1.3dev (svn r2063).
PR: ports/109346 (based on) Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org>
Diffstat (limited to 'www')
-rw-r--r--www/trac-accountmanager/Makefile37
-rw-r--r--www/trac-accountmanager/distinfo6
-rw-r--r--www/trac-accountmanager/pkg-plist5
3 files changed, 29 insertions, 19 deletions
diff --git a/www/trac-accountmanager/Makefile b/www/trac-accountmanager/Makefile
index 86888bb71fd6..17fb880e2960 100644
--- a/www/trac-accountmanager/Makefile
+++ b/www/trac-accountmanager/Makefile
@@ -5,29 +5,38 @@
# $FreeBSD$
#
-PORTNAME= accountmanagerplugin
-PORTVERSION= 0.9
-PORTREVISION= 2
+PORTNAME= accountmanager
+PORTVERSION= 0.1.3.2063
+PORTEPOCH= 1
CATEGORIES= www devel python
-#MASTER_SITES= http://trac-hacks.org/download/accountmanagerplugin.zip
+#MASTER_SITES= http://trac-hacks.org/svn/accountmanagerplugin/0.10/
MASTER_SITES= http://dist.bsdlab.org/
PKGNAMEPREFIX= trac-
+DISTNAME= TracAccountManager-${PORTVERSION}
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Account Manager Plugin for trac
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= tracd:${PORTSDIR}/www/trac \
- easy_install:${PORTSDIR}/devel/py-setuptools
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
+ tracd:${PORTSDIR}/www/trac \
+ ${PYTHON_SITELIBDIR}/webadmin/webadmin/__init__.py:${PORTSDIR}/www/trac-webadmin
+RUN_DEPENDS= ${BUILD_DEPENDS}
-USE_ZIP= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTVERSION}
-PLIST_SUB= VERSION=0.1.2 PYVER=${PYTHON_VERSION:S/python//} SED=${SED}
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+WRKSRC= ${WRKDIR}/accountmanagerplugin
-do-build:
- @${DO_NADA}
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+
+PYDISTUTILS_BUILD_TARGET= bdist_egg
+PYDISTUTILS_INSTALL_TARGET= easy_install
+PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACACCOUNTMANAGER_EGG}
+
+TRACACCOUNTMANAGER_EGG= TracAccountManager-0.1.3dev-py${PYTHON_VER}.egg
+
+PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ TRACACCOUNTMANAGER_EGG=${TRACACCOUNTMANAGER_EGG} \
+ TRACACCOUNTMANAGER_EGG_VER="TracAccountManager==0.1.3dev"
# --- trac.ini
# [components]
diff --git a/www/trac-accountmanager/distinfo b/www/trac-accountmanager/distinfo
index 2d488a2fb01a..52d95308ccb9 100644
--- a/www/trac-accountmanager/distinfo
+++ b/www/trac-accountmanager/distinfo
@@ -1,3 +1,3 @@
-MD5 (accountmanagerplugin-0.9.zip) = 932e7a5a23bc2098303437c04c9baf1c
-SHA256 (accountmanagerplugin-0.9.zip) = c2d6413f7fc09f93b9899973e8ceca295b8320f2e354b6845c6684046b9cacd5
-SIZE (accountmanagerplugin-0.9.zip) = 24547
+MD5 (TracAccountManager-0.1.3.2063.tar.gz) = 92c626ba7334488192ac25d25552daee
+SHA256 (TracAccountManager-0.1.3.2063.tar.gz) = 15f973c1360ac2101ef6f89a90ce3cb553348222007829c727688fae4a92ab06
+SIZE (TracAccountManager-0.1.3.2063.tar.gz) = 12705
diff --git a/www/trac-accountmanager/pkg-plist b/www/trac-accountmanager/pkg-plist
index fa9787a0fd5f..ec4682424895 100644
--- a/www/trac-accountmanager/pkg-plist
+++ b/www/trac-accountmanager/pkg-plist
@@ -1,2 +1,3 @@
-%%PYTHON_SITELIBDIR%%/TracAccountManager-%%VERSION%%-py%%PYVER%%.egg
-@unexec %%SED%% -i '' -e '/TracAccountManager-%%VERSION%%-py%%PYVER%%.egg/d' %D/%%PYTHON_SITELIBDIR%%/easy-install.pth
+@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACACCOUNTMANAGER_EGG_VER%%
+%%PYTHON_SITELIBDIR%%/%%TRACACCOUNTMANAGER_EGG%%
+@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACACCOUNTMANAGER_EGG_VER%%