1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/fswiki/Makefile
Philip M. Gollucci c10f314307 - lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checks
PR:             ports/135398
Tested by:      2 -exp runs by pav
Approved by:    portmgr (pav)
2009-07-22 16:27:08 +00:00

45 lines
1.0 KiB
Makefile

# New ports collection makefile for: fswiki
# Date created: Oct 10, 2004
# Whom: kuriyama@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= fswiki
PORTVERSION= 3.6.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= fswiki/20797
DISTNAME= wiki${PORTVERSION:S|.|_|g}
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= FreeStyle Wiki (perl based wiki clone)
RUN_DEPENDS= ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template
USE_ZIP= yes
USE_PERL5= yes
NO_BUILD= yes
JCODE= ${SITE_PERL}/Jcode.pm
post-extract:
${SED} -e 's|__DATADIR__|${DATADIR}|' ${FILESDIR}/setup.sh \
>${WRKSRC}/setup.sh
do-install:
-${MKDIR} ${DATADIR}
cd ${WRKSRC}; \
for d in `${FIND} * -type d`; do \
${MKDIR} ${DATADIR}/$${d}; \
done
cd ${WRKSRC}; \
for i in `${FIND} . -type f | ${GREP} -v .orig`; do \
${INSTALL_DATA} $${i} ${DATADIR}/$${i}; \
done
${INSTALL_SCRIPT} ${WRKSRC}/wiki.cgi ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${DATADIR}
.include <bsd.port.mk>