Skip to content

Commit

Permalink
www/trac-tocmacro: new port
Browse files Browse the repository at this point in the history
Trac macro generates a table of contents for the current page or a set
of pages.
  • Loading branch information
samm-git committed Jan 9, 2024
1 parent 03c7f3c commit 20498f8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/Makefile
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions www/trac-tocmacro/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1704797444
SHA256 (tocmacro-12.0.0r18149.zip) = 5814dafbd4374e6c4eae194bbb674ef9cbadfb5ccf5793af046c1933569feb51
SIZE (tocmacro-12.0.0r18149.zip) = 6416
2 changes: 2 additions & 0 deletions 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.

0 comments on commit 20498f8

Please sign in to comment.