mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Add stage support
This commit is contained in:
parent
166cfa589c
commit
3edee5e2d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332806
@ -20,13 +20,12 @@ SUB_FILES= pkg-message
|
||||
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:${PORTSDIR}/textproc/pecl-xdiff
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${WWWDIR}
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC} \
|
||||
&& ${COPYTREE_SHARE} \* ${WWWDIR})
|
||||
${CHOWN} -R www:www ${WWWDIR}
|
||||
${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
|
||||
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})
|
||||
${CHOWN} -R www:www ${STAGEDIR}${WWWDIR}
|
||||
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
|
||||
|
||||
.if !defined(BATCH)
|
||||
@ ${CAT} ${PKGMESSAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user