git: 5cf6230139ee - main - www/trac-markdownmacro: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jan 2024 13:07:38 UTC
The branch main has been updated by samm: URL: https://cgit.FreeBSD.org/ports/commit/?id=5cf6230139eea41e422ce5eaae6bb8337d8d5068 commit 5cf6230139eea41e422ce5eaae6bb8337d8d5068 Author: Oleksii Samorukov <samm@FreeBSD.org> AuthorDate: 2024-01-17 13:02:15 +0000 Commit: Oleksii Samorukov <samm@FreeBSD.org> CommitDate: 2024-01-17 13:06:55 +0000 www/trac-markdownmacro: new port --- www/Makefile | 1 + www/trac-markdownmacro/Makefile | 31 +++++++++++++++++++++++++++++++ www/trac-markdownmacro/distinfo | 3 +++ www/trac-markdownmacro/pkg-descr | 3 +++ 4 files changed, 38 insertions(+) diff --git a/www/Makefile b/www/Makefile index 5b8458dbb45a..6b295db1be83 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2362,6 +2362,7 @@ SUBDIR += tor-browser SUBDIR += trac SUBDIR += trac-accountmanager + SUBDIR += trac-markdownmacro SUBDIR += trac-spamfilter SUBDIR += trac-tocmacro SUBDIR += trafficserver diff --git a/www/trac-markdownmacro/Makefile b/www/trac-markdownmacro/Makefile new file mode 100644 index 000000000000..8583829ec23a --- /dev/null +++ b/www/trac-markdownmacro/Makefile @@ -0,0 +1,31 @@ +PORTNAME= markdownmacro +PORTVERSION= 0.11.10r${REV} +CATEGORIES= www devel python +MASTER_SITES= https://trac-hacks.org/browser/markdownmacro/ +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 \ + ${PYTHON_PKGNAMEPREFIX}markdown>=0:textproc/py-markdown@${PY_FLAVOR} + +FETCH_BEFORE_ARGS= -o ${DISTFILES} +REV= 18423 +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-markdownmacro/distinfo b/www/trac-markdownmacro/distinfo new file mode 100644 index 000000000000..833be1a9b54a --- /dev/null +++ b/www/trac-markdownmacro/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1705314367 +SHA256 (markdownmacro-0.11.10r18423.zip) = f99e12c1fe67174e73aa95c0d5502c3223b5d931a2e5fc9ad14bc0afc99dea44 +SIZE (markdownmacro-0.11.10r18423.zip) = 14329 diff --git a/www/trac-markdownmacro/pkg-descr b/www/trac-markdownmacro/pkg-descr new file mode 100644 index 000000000000..2e8bec6b784f --- /dev/null +++ b/www/trac-markdownmacro/pkg-descr @@ -0,0 +1,3 @@ +This macro implements John Gruber's Markdown lightweight plain text-to-HTML +formatting syntax as a wiki processor macro. It comes with Markdown extensions +to better integrate with the Trac wiki.