aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Samorukov <samm@FreeBSD.org>2024-01-09 10:57:06 +0000
committerOleksii Samorukov <samm@FreeBSD.org>2024-01-09 10:58:07 +0000
commit20498f8c5b9fa4f5a64966de0df96dd16bce3dbc (patch)
treec79b59a330b0daa7b0c9067711a7b9a07b122847
parent03c7f3c4124caf0cd8735753986ee630eadd37a1 (diff)
downloadports-20498f8c5b9fa4f5a64966de0df96dd16bce3dbc.tar.gz
ports-20498f8c5b9fa4f5a64966de0df96dd16bce3dbc.zip
www/trac-tocmacro: new port
Trac macro generates a table of contents for the current page or a set of pages.
-rw-r--r--www/Makefile3
-rw-r--r--www/trac-tocmacro/Makefile30
-rw-r--r--www/trac-tocmacro/distinfo3
-rw-r--r--www/trac-tocmacro/pkg-descr2
4 files changed, 37 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index ceeacc82de6d..44b296569c1e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2361,7 +2361,8 @@
SUBDIR += tor-browser
SUBDIR += trac
SUBDIR += trac-accountmanager
- SUBDIT += trac-spamfilter
+ SUBDIR += trac-spamfilter
+ SUBDIR += trac-tocmacro
SUBDIR += trafficserver
SUBDIR += transproxy
SUBDIR += trunk
diff --git a/www/trac-tocmacro/Makefile b/www/trac-tocmacro/Makefile
new file mode 100644
index 000000000000..2b8dc8ecbd1f
--- /dev/null
+++ b/www/trac-tocmacro/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= tocmacro
+PORTVERSION= 12.0.0r${REV}
+CATEGORIES= www devel python
+MASTER_SITES= https://trac-hacks.org/browser/tocmacro/
+PKGNAMEPREFIX= trac-
+
+MAINTAINER= samm@FreeBSD.org
+COMMENT= Table of contents macro for Trac
+WWW= https://trac-hacks.org/wiki/TocMacro
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= tracd:www/trac
+
+FETCH_BEFORE_ARGS= -o ${DISTFILES}
+REV= 18149
+WRKSRC= ${WRKDIR}/0.11
+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}0.11?rev=${REV}&format=zip'; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/www/trac-tocmacro/distinfo b/www/trac-tocmacro/distinfo
new file mode 100644
index 000000000000..6fc52381df40
--- /dev/null
+++ b/www/trac-tocmacro/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704797444
+SHA256 (tocmacro-12.0.0r18149.zip) = 5814dafbd4374e6c4eae194bbb674ef9cbadfb5ccf5793af046c1933569feb51
+SIZE (tocmacro-12.0.0r18149.zip) = 6416
diff --git a/www/trac-tocmacro/pkg-descr b/www/trac-tocmacro/pkg-descr
new file mode 100644
index 000000000000..7879704d01e4
--- /dev/null
+++ b/www/trac-tocmacro/pkg-descr
@@ -0,0 +1,2 @@
+ThisTrac macro generates a table of contents for the current page or a set of
+pages.