1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Stage support

PR:		190292
dd
This commit is contained in:
Martin Wilke 2014-06-05 06:22:38 +00:00
parent 1b5a5713db
commit 37b7132d24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356596

View File

@ -22,7 +22,6 @@ USE_PHP= session filter xml simplexml gd
PKGMESSAGE= ${MASTERDIR}/pkg-message
SUB_FILES= pkg-message
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
@ -33,9 +32,9 @@ RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif
do-install:
@${MKDIR} ${WWWDIR}
@${CP} -r ${WRKDIR}/${PORTNAME}/ ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -r ${WRKDIR}/${PORTNAME}/ ${STAGEDIR}${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
post-install:
${CAT} ${PKGMESSAGE}