aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2006-02-18 06:52:03 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2006-02-18 06:52:03 +0000
commitaa528ac5b70bd9a8fd7ce24d7c3dd16976943408 (patch)
tree7cc70a49357b7a54ba65ed188671e28673eab1a4 /www
parentdad00b8ec61bdaacf08de3857b288dc66df682db (diff)
downloadports-aa528ac5b70bd9a8fd7ce24d7c3dd16976943408.tar.gz
ports-aa528ac5b70bd9a8fd7ce24d7c3dd16976943408.zip
Add trac-accountmanager 0.9, account Manager Plugin for trac.
Notes
Notes: svn path=/head/; revision=156256
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/trac-accountmanager/Makefile41
-rw-r--r--www/trac-accountmanager/distinfo3
-rw-r--r--www/trac-accountmanager/pkg-descr4
-rw-r--r--www/trac-accountmanager/pkg-plist2
5 files changed, 51 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 1e47451aeb6f..6beae4e54a1e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -892,6 +892,7 @@
SUBDIR += tidy-lib
SUBDIR += tinyproxy
SUBDIR += trac
+ SUBDIR += trac-accountmanager
SUBDIR += transproxy
SUBDIR += twhttpd
SUBDIR += twig
diff --git a/www/trac-accountmanager/Makefile b/www/trac-accountmanager/Makefile
new file mode 100644
index 000000000000..c711685aa4f8
--- /dev/null
+++ b/www/trac-accountmanager/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: trac-accountmanager
+# Date created: 17 Feb 2006
+# Whom: kuriyama@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= accountmanagerplugin
+PORTVERSION= 0.9
+CATEGORIES= www devel python
+#MASTER_SITES= http://trac-hacks.org/download/accountmanagerplugin.zip
+MASTER_SITES= http://dist.bsdlab.org/
+PKGNAMEPREFIX= trac-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Account Manager Plugin for trac
+
+BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= tracd:${PORTSDIR}/www/trac
+
+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}
+
+do-build:
+ @${DO_NADA}
+
+# --- trac.ini
+# [components]
+# acct_mgr.* = enabled
+#
+# [account-manager]
+# password_format = htpasswd
+# password_file = /var/trac/trac.htpasswd
+#
+# --- httpd.conf
+# SetEnv PYTHON_EGG_CACHE "/tmp/cache"
+
+.include <bsd.port.mk>
diff --git a/www/trac-accountmanager/distinfo b/www/trac-accountmanager/distinfo
new file mode 100644
index 000000000000..2d488a2fb01a
--- /dev/null
+++ b/www/trac-accountmanager/distinfo
@@ -0,0 +1,3 @@
+MD5 (accountmanagerplugin-0.9.zip) = 932e7a5a23bc2098303437c04c9baf1c
+SHA256 (accountmanagerplugin-0.9.zip) = c2d6413f7fc09f93b9899973e8ceca295b8320f2e354b6845c6684046b9cacd5
+SIZE (accountmanagerplugin-0.9.zip) = 24547
diff --git a/www/trac-accountmanager/pkg-descr b/www/trac-accountmanager/pkg-descr
new file mode 100644
index 000000000000..eeea4fc3c87f
--- /dev/null
+++ b/www/trac-accountmanager/pkg-descr
@@ -0,0 +1,4 @@
+Trac plugin to enable users to register new accounts or manage their
+existing account.
+
+WWW: http://trac-hacks.org/wiki/AccountManagerPlugin
diff --git a/www/trac-accountmanager/pkg-plist b/www/trac-accountmanager/pkg-plist
new file mode 100644
index 000000000000..a992f220e39e
--- /dev/null
+++ b/www/trac-accountmanager/pkg-plist
@@ -0,0 +1,2 @@
+%%PYTHON_SITELIBDIR%%/TracAccountManager-%%VERSION%%-py%%PYVER%%.egg
+@unexec %%SED%% -i -e '/TracAccountManager-%%VERSION%%-py%%PYVER%%.egg/d' %D/%%PYTHON_SITELIBDIR%%/easy-install.pth