aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-02-18 14:52:03 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-02-18 14:52:03 +0800
commitc57643809a5ddd94c50807965a4152baba03a9ce (patch)
treeef7a3af479dfc40a4c1fa1be34679ddf00bfe216 /www
parenta3e5c6e260c0255a417cd33a2cafc624be67bcbe (diff)
downloadfreebsd-ports-gnome-c57643809a5ddd94c50807965a4152baba03a9ce.tar.gz
freebsd-ports-gnome-c57643809a5ddd94c50807965a4152baba03a9ce.tar.zst
freebsd-ports-gnome-c57643809a5ddd94c50807965a4152baba03a9ce.zip
Add trac-accountmanager 0.9, account Manager Plugin for trac.
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