- Remove x-generate-plist target using deprecated @dirrm

- Add NO_ARCH
- Unmute install command
This commit is contained in:
Pawel Pekala 2016-01-16 16:04:05 +00:00
parent fd1c5a188c
commit 855468528f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406234

View file

@ -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>