- Unbreak this port and support STAGEDIR
This commit is contained in:
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
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= Kwiki
|
PORTNAME= Kwiki
|
||||||
PORTVERSION= 0.39
|
PORTVERSION= 0.39
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www perl5
|
CATEGORIES= www perl5
|
||||||
MASTER_SITES= http://www.kwiki.org/downloads/ \
|
MASTER_SITES= http://www.kwiki.org/downloads/ \
|
||||||
${MASTER_SITE_LOCAL}
|
${MASTER_SITE_LOCAL}
|
||||||
|
@ -13,23 +14,12 @@ DISTNAME= kwiki-trunk-20070327
|
||||||
MAINTAINER= perl@FreeBSD.org
|
MAINTAINER= perl@FreeBSD.org
|
||||||
COMMENT= The Kwiki Wiki Building Framework
|
COMMENT= The Kwiki Wiki Building Framework
|
||||||
|
|
||||||
BROKEN= not staged
|
|
||||||
|
|
||||||
KWIKIDIR?= kwiki
|
KWIKIDIR?= kwiki
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
PLIST_SUB= KWIKIDIR=${KWIKIDIR}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/${KWIKIDIR}
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${KWIKIDIR}
|
||||||
${CP} -RH ${WRKSRC}/ ${PREFIX}/${KWIKIDIR}
|
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${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>
|
.include <bsd.port.mk>
|
||||||
|
|
4193
www/p5-Kwiki/pkg-plist
Normal file
4193
www/p5-Kwiki/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue