mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- Remove x-generate-plist target using deprecated @dirrm
- Add NO_ARCH - Unmute install command
This commit is contained in:
parent
fd1c5a188c
commit
855468528f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406234
1 changed files with 2 additions and 12 deletions
|
@ -16,6 +16,7 @@ USES= zip
|
|||
USE_PHP= pcre
|
||||
WANT_PHP_WEB= yes
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-20070406
|
||||
TEMP_PLIST= ${WRKDIR}/temp-pkg-plist
|
||||
|
@ -25,17 +26,6 @@ PLIST_SUB= WWWOWN=${WWWOWN} \
|
|||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
||||
|
||||
# This target is only meant to be used by the port maintainer.
|
||||
x-generate-plist:
|
||||
@make makesum extract
|
||||
@${ECHO_CMD} "@owner %%WWWOWN%%" > ${TEMP_PLIST}
|
||||
@${ECHO_CMD} "@group %%WWWGRP%%" >> ${TEMP_PLIST}
|
||||
@cd ${WRKSRC} && ${FIND} -s . -type f | \
|
||||
${SED} -e 's|^./||;s|^|%%WWWDIR%%/|' >> ${TEMP_PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm %%WWWDIR%%/|' >> ${TEMP_PLIST} \
|
||||
&& ${ECHO_CMD} "@dirrmtry %%WWWDIR%%" >> ${TEMP_PLIST}
|
||||
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue