From c57643809a5ddd94c50807965a4152baba03a9ce Mon Sep 17 00:00:00 2001 From: kuriyama Date: Sat, 18 Feb 2006 06:52:03 +0000 Subject: Add trac-accountmanager 0.9, account Manager Plugin for trac. --- www/Makefile | 1 + www/trac-accountmanager/Makefile | 41 +++++++++++++++++++++++++++++++++++++++ www/trac-accountmanager/distinfo | 3 +++ www/trac-accountmanager/pkg-descr | 4 ++++ www/trac-accountmanager/pkg-plist | 2 ++ 5 files changed, 51 insertions(+) create mode 100644 www/trac-accountmanager/Makefile create mode 100644 www/trac-accountmanager/distinfo create mode 100644 www/trac-accountmanager/pkg-descr create mode 100644 www/trac-accountmanager/pkg-plist (limited to 'www') 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 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 -- cgit