summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorOleksii Samorukov <samm@FreeBSD.org>2024-01-17 14:02:15 +0100
committerOleksii Samorukov <samm@FreeBSD.org>2024-01-17 14:06:55 +0100
commit5cf6230139eea41e422ce5eaae6bb8337d8d5068 (patch)
tree7e131b47952cd499b98b6409b71cd480c554ed1d /www
parent2d925f150358bf061d4fec9bb8caa009e0a56442 (diff)
downloadfreebsd-ports-5cf6230139eea41e422ce5eaae6bb8337d8d5068.zip
www/trac-markdownmacro: new port
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/trac-markdownmacro/Makefile31
-rw-r--r--www/trac-markdownmacro/distinfo3
-rw-r--r--www/trac-markdownmacro/pkg-descr3
4 files changed, 38 insertions, 0 deletions
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.