1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Unbreak this port and support STAGEDIR

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-04-11 09:12:07 +00:00
parent c4cabd4281
commit 76250dcd0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350908
2 changed files with 4197 additions and 14 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= Kwiki
PORTVERSION= 0.39
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= http://www.kwiki.org/downloads/ \
${MASTER_SITE_LOCAL}
@ -13,23 +14,12 @@ DISTNAME= kwiki-trunk-20070327
MAINTAINER= perl@FreeBSD.org
COMMENT= The Kwiki Wiki Building Framework
BROKEN= not staged
KWIKIDIR?= kwiki
NO_BUILD= yes
PLIST_SUB= KWIKIDIR=${KWIKIDIR}
NO_STAGE= 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}
@${MKDIR} ${STAGEDIR}${PREFIX}/${KWIKIDIR}
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${KWIKIDIR}
.include <bsd.port.mk>

4193
www/p5-Kwiki/pkg-plist Normal file

File diff suppressed because it is too large Load Diff