Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 10:58:32 GMT
From:      Oleksii Samorukov <samm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 20498f8c5b9f - main - www/trac-tocmacro: new port
Message-ID:  <202401091058.409AwWFg072892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by samm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20498f8c5b9fa4f5a64966de0df96dd16bce3dbc

commit 20498f8c5b9fa4f5a64966de0df96dd16bce3dbc
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2024-01-09 10:57:06 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2024-01-09 10:58:07 +0000

    www/trac-tocmacro: new port
    
    Trac macro generates a table of contents for the current page or a set
    of pages.
---
 www/Makefile                |  3 ++-
 www/trac-tocmacro/Makefile  | 30 ++++++++++++++++++++++++++++++
 www/trac-tocmacro/distinfo  |  3 +++
 www/trac-tocmacro/pkg-descr |  2 ++
 4 files changed, 37 insertions(+), 1 deletion(-)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401091058.409AwWFg072892>