aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Samorukov <samm@FreeBSD.org>2024-01-09 08:45:23 +0000
committerOleksii Samorukov <samm@FreeBSD.org>2024-01-09 08:50:21 +0000
commitf044d78ad8315f4955b5374075f8271bc0d03850 (patch)
tree4ddbc968247fc5b4148f8cc5d51dc047f00b6b6a
parentd68520a06cb2d9aa337c13a628228bf0e1a9c845 (diff)
downloadports-f044d78ad8315f4955b5374075f8271bc0d03850.tar.gz
ports-f044d78ad8315f4955b5374075f8271bc0d03850.zip
www/trac-accountmanager: add new port
Trac plugin offers features for managing user accounts on Trac Project.
-rw-r--r--www/Makefile1
-rw-r--r--www/trac-accountmanager/Makefile30
-rw-r--r--www/trac-accountmanager/distinfo3
-rw-r--r--www/trac-accountmanager/pkg-descr2
4 files changed, 36 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 1701d70ffe55..c21660b5fa7b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2360,6 +2360,7 @@
SUBDIR += tomee
SUBDIR += tor-browser
SUBDIR += trac
+ SUBDIR += trac-accountmanager
SUBDIR += trafficserver
SUBDIR += transproxy
SUBDIR += trunk
diff --git a/www/trac-accountmanager/Makefile b/www/trac-accountmanager/Makefile
new file mode 100644
index 000000000000..0b02ed97aade
--- /dev/null
+++ b/www/trac-accountmanager/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= accountmanager
+PORTVERSION= 0.5.${REV}
+CATEGORIES= www devel python
+MASTER_SITES= https://trac-hacks.org/browser/accountmanagerplugin/
+PKGNAMEPREFIX= trac-
+
+MAINTAINER= samm@FreeBSD.org
+COMMENT= Account Manager Plugin for trac
+WWW= https://trac-hacks.org/wiki/AccountManagerPlugin
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= tracd:www/trac
+
+FETCH_BEFORE_ARGS= -o ${DISTFILES}
+REV= 18614
+WRKSRC= ${WRKDIR}/trunk
+USES= python zip
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+do-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
+ cd ${DISTDIR} && \
+ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
+ '${MASTER_SITES}trunk?rev=${REV}&format=zip'; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/www/trac-accountmanager/distinfo b/www/trac-accountmanager/distinfo
new file mode 100644
index 000000000000..86eb8547c56d
--- /dev/null
+++ b/www/trac-accountmanager/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704757155
+SHA256 (accountmanager-0.5.18614.zip) = 8fbccab4d8cfc55616def01a42af75947037a8f054958b4e4e1eb57b8989303a
+SIZE (accountmanager-0.5.18614.zip) = 558095
diff --git a/www/trac-accountmanager/pkg-descr b/www/trac-accountmanager/pkg-descr
new file mode 100644
index 000000000000..6cc0ffb9dee8
--- /dev/null
+++ b/www/trac-accountmanager/pkg-descr
@@ -0,0 +1,2 @@
+Trac plugin to enable users to register new accounts or manage their
+existing account.