Skip to content

Commit 5cf6230

Browse files
committed
www/trac-markdownmacro: new port
1 parent 2d925f1 commit 5cf6230

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed

‎www/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,6 +2362,7 @@
23622362
SUBDIR += tor-browser
23632363
SUBDIR += trac
23642364
SUBDIR += trac-accountmanager
2365+
SUBDIR += trac-markdownmacro
23652366
SUBDIR += trac-spamfilter
23662367
SUBDIR += trac-tocmacro
23672368
SUBDIR += trafficserver

‎www/trac-markdownmacro/Makefile‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
PORTNAME= markdownmacro
2+
PORTVERSION= 0.11.10r${REV}
3+
CATEGORIES= www devel python
4+
MASTER_SITES= https://trac-hacks.org/browser/markdownmacro/
5+
PKGNAMEPREFIX= trac-
6+
7+
MAINTAINER= samm@FreeBSD.org
8+
COMMENT= Table of contents macro for Trac
9+
WWW= https://trac-hacks.org/wiki/TocMacro
10+
11+
LICENSE= BSD3CLAUSE
12+
LICENSE_FILE= ${WRKSRC}/COPYING
13+
14+
RUN_DEPENDS= tracd:www/trac \
15+
${PYTHON_PKGNAMEPREFIX}markdown>=0:textproc/py-markdown@${PY_FLAVOR}
16+
17+
FETCH_BEFORE_ARGS= -o ${DISTFILES}
18+
REV= 18423
19+
WRKSRC= ${WRKDIR}/trunk
20+
USES= python zip
21+
USE_PYTHON= distutils autoplist
22+
NO_ARCH= yes
23+
24+
do-fetch:
25+
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
26+
cd ${DISTDIR} && \
27+
${FETCH_CMD} ${FETCH_BEFORE_ARGS} \
28+
'${MASTER_SITES}trunk?rev=${REV}&format=zip'; \
29+
fi
30+
31+
.include <bsd.port.mk>

‎www/trac-markdownmacro/distinfo‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1705314367
2+
SHA256 (markdownmacro-0.11.10r18423.zip) = f99e12c1fe67174e73aa95c0d5502c3223b5d931a2e5fc9ad14bc0afc99dea44
3+
SIZE (markdownmacro-0.11.10r18423.zip) = 14329

‎www/trac-markdownmacro/pkg-descr‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This macro implements John Gruber's Markdown lightweight plain text-to-HTML
2+
formatting syntax as a wiki processor macro. It comes with Markdown extensions
3+
to better integrate with the Trac wiki.

0 commit comments

Comments
 (0)