diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-06-06 13:01:47 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-06-06 13:01:47 +0000 |
commit | 17b85ad8c5a159bba24e24da381e02ca2029a2a4 (patch) | |
tree | 84c799fc19f8df82144ee5a24afc784c5d7539bf /www/crp | |
parent | 92ff29b05ecb4ac2b6c0f8d59b42a88091f4cbe1 (diff) | |
download | ports-17b85ad8c5a159bba24e24da381e02ca2029a2a4.tar.gz ports-17b85ad8c5a159bba24e24da381e02ca2029a2a4.zip |
Notes
Diffstat (limited to 'www/crp')
-rw-r--r-- | www/crp/Makefile | 10 | ||||
-rw-r--r-- | www/crp/pkg-plist | 1 |
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 |