1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Support staging.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-05-19 12:55:10 +00:00
parent 22c5a9fc86
commit 9b8fa99c53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354536

View File

@ -20,18 +20,11 @@ NO_BUILD= yes
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
@${MKDIR} ${WWWDIR}
@${CP} -Rp ${WRKSRC}/* ${WWWDIR}
@${CHGRP} -R ${WWWGRP} ${WWWDIR}
@${CHMOD} 775 ${WWWDIR}/ini
@${CHMOD} 775 ${WWWDIR}/query_archive
@${ECHO_CMD} ""
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -Rp ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
@${CHGRP} -R ${WWWGRP} ${STAGEDIR}${WWWDIR}
@${CHMOD} 775 ${STAGEDIR}${WWWDIR}/ini
@${CHMOD} 775 ${STAGEDIR}${WWWDIR}/query_archive
.include <bsd.port.mk>