blob: 84f2cb530f7ab6277b1941e5d0e74f7a4f96604d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# 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
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.pre.mk>
.if ${PERL_LEVEL} < 500801
JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
.else
JCODE= ${SITE_PERL}/Jcode.pm
.endif
.include <bsd.port.post.mk>
|