aboutsummaryrefslogtreecommitdiff
path: root/www/crp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-06 13:01:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-06 13:01:47 +0000
commit17b85ad8c5a159bba24e24da381e02ca2029a2a4 (patch)
tree84c799fc19f8df82144ee5a24afc784c5d7539bf /www/crp
parent92ff29b05ecb4ac2b6c0f8d59b42a88091f4cbe1 (diff)
downloadports-17b85ad8c5a159bba24e24da381e02ca2029a2a4.tar.gz
ports-17b85ad8c5a159bba24e24da381e02ca2029a2a4.zip
Notes
Diffstat (limited to 'www/crp')
-rw-r--r--www/crp/Makefile10
-rw-r--r--www/crp/pkg-plist1
2 files changed, 5 insertions, 6 deletions
diff --git a/www/crp/Makefile b/www/crp/Makefile
index f8bf540ab84d..7227bd80d8fc 100644
--- a/www/crp/Makefile
+++ b/www/crp/Makefile
@@ -19,17 +19,15 @@ SPOOLDIR?= /var/spool/conference
PKGMESSAGE= ${WRKDIR}/pkg-message
-NO_STAGE= yes
post-patch:
@${SED} -e 's|%%WWWDIR%%|${WWWDIR}|g; s|%%DISTNAME%%|${DISTNAME}|g' \
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
do-install:
- @${MKDIR} -m 755 ${WWWDIR} ${SPOOLDIR}
- @${CP} -R ${WRKSRC}/ ${WWWDIR}/
+ @${MKDIR} -m 755 ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
+ @${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
@${SED} -e 's#/var/www/html#${WWWDIR}#' \
- ${WRKSRC}/Code/confHeader.inc > ${WWWDIR}/Code/confHeader.inc
- @${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR} ${SPOOLDIR}
- @${CAT} ${PKGMESSAGE}
+ ${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc
+ @${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
.include <bsd.port.mk>
diff --git a/www/crp/pkg-plist b/www/crp/pkg-plist
index 5f2937215cd8..8b9d3f3943fe 100644
--- a/www/crp/pkg-plist
+++ b/www/crp/pkg-plist
@@ -237,3 +237,4 @@
@dirrm %%WWWDIR%%/Assistant
@dirrm %%WWWDIR%%/All
@dirrm %%WWWDIR%%
+@dirrmtry /var/spool/conference