blob: eb66c9679714e3208ad43f6755701a048125045b (
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
|
# New ports collection makefile for: p5-Kwiki
# Date created: Sat Jul 17 16:00:09 CST 2004
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#
PORTNAME= Kwiki
PORTVERSION= 0.39
CATEGORIES= www perl5
MASTER_SITES= http://www.kwiki.org/downloads/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= clsung/${PORTNAME}
PKGNAMEPREFIX= p5-
DISTNAME= kwiki-trunk-20070327
MAINTAINER= clsung@FreeBSD.org
COMMENT= The Kwiki Wiki Building Framework
KWIKIDIR?= kwiki
NO_BUILD= yes
do-install:
@${MKDIR} ${PREFIX}/${KWIKIDIR}
${CP} -RH ${WRKSRC}/ ${PREFIX}/${KWIKIDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${KWIKIDIR}
post-install:
@${FIND} ${WRKSRC}/${file} -not -type d \
| ${SED} -ne 's,^${WRKSRC},${KWIKIDIR},p' >> ${TMPPLIST}
@${FIND} -d ${WRKSRC}/${file} -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm ${KWIKIDIR},p' >> ${TMPPLIST}
@${SED} -e 's|%%KWIKIDIR%%|${PREFIX}/${KWIKIDIR}|' ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|