mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
e56a7da894
With hat: portmgr-secretary
36 lines
892 B
Makefile
36 lines
892 B
Makefile
PORTNAME= fswiki
|
|
PORTVERSION= 3.6.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= OSDN/fswiki
|
|
DISTNAME= wiki${PORTVERSION:S|.|_|g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= FreeStyle Wiki (perl based wiki clone)
|
|
|
|
RUN_DEPENDS= ja-p5-Jcode>=0:japanese/p5-Jcode \
|
|
p5-HTML-Template>=0:www/p5-HTML-Template
|
|
|
|
USES= perl5 shebangfix zip
|
|
SHEBANG_FILES= wiki.cgi
|
|
NO_BUILD= yes
|
|
|
|
post-extract:
|
|
${SED} -e 's|__DATADIR__|${DATADIR}|' ${FILESDIR}/setup.sh \
|
|
>${WRKSRC}/setup.sh
|
|
|
|
do-install:
|
|
-${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC}; \
|
|
for d in `${FIND} * -type d`; do \
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/$${d}; \
|
|
done
|
|
cd ${WRKSRC}; \
|
|
for i in `${FIND} . -type f | ${GREP} -v .orig`; do \
|
|
${INSTALL_DATA} $${i} ${STAGEDIR}${DATADIR}/$${i}; \
|
|
done
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wiki.cgi ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|