www/trac-tocmacro: new port

Trac macro generates a table of contents for the current page or a set
of pages.
This commit is contained in:
Oleksii Samorukov 2024-01-09 11:57:06 +01:00
parent 03c7f3c412
commit 20498f8c5b
4 changed files with 37 additions and 1 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1704797444
SHA256 (tocmacro-12.0.0r18149.zip) = 5814dafbd4374e6c4eae194bbb674ef9cbadfb5ccf5793af046c1933569feb51
SIZE (tocmacro-12.0.0r18149.zip) = 6416

View file

@ -0,0 +1,2 @@
ThisTrac macro generates a table of contents for the current page or a set of
pages.