diff options
| author | Stefan Eßer <se@FreeBSD.org> | 2014-06-01 12:41:12 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 2014-06-01 12:41:12 +0000 |
| commit | a741276e9475f90d377d70a78cf9589d53fc2b63 (patch) | |
| tree | 7069d72cd2445f56dca1989744e7320462434afe /security/phpsecinfo | |
| parent | 02625d7d3b1d8564b24d1527e7760cc4fa57522b (diff) | |
Notes
Diffstat (limited to 'security/phpsecinfo')
| -rw-r--r-- | security/phpsecinfo/Makefile | 15 | ||||
| -rw-r--r-- | security/phpsecinfo/pkg-plist | 2 |
2 files changed, 12 insertions, 5 deletions
diff --git a/security/phpsecinfo/Makefile b/security/phpsecinfo/Makefile index f8ec73eb7b7e..54d22c516036 100644 --- a/security/phpsecinfo/Makefile +++ b/security/phpsecinfo/Makefile @@ -9,6 +9,8 @@ MASTER_SITES= LOCAL/chinsan MAINTAINER= ports@FreeBSD.org COMMENT= PHP environment security auditing tool +LICENSE= BSD3CLAUSE + USES= zip USE_PHP= pcre WANT_PHP_WEB= yes @@ -17,17 +19,20 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-20070406 TEMP_PLIST= ${WRKDIR}/temp-pkg-plist -NO_STAGE= yes +PLIST_SUB= WWWOWN=${WWWOWN} \ + WWWGRP=${WWWGRP} + do-install: - @${MKDIR} ${WWWDIR} - @${CP} -R ${WRKSRC}/ ${WWWDIR}/ - @${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR} + @${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} \ + ${SED} -e 's|^./||;s|^|%%WWWDIR%%/|' >> ${TEMP_PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm %%WWWDIR%%/|' >> ${TEMP_PLIST} \ && ${ECHO_CMD} "@dirrmtry %%WWWDIR%%" >> ${TEMP_PLIST} diff --git a/security/phpsecinfo/pkg-plist b/security/phpsecinfo/pkg-plist index 6ae93e5ef59b..9b200b8d6246 100644 --- a/security/phpsecinfo/pkg-plist +++ b/security/phpsecinfo/pkg-plist @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/CHANGELOG %%WWWDIR%%/LICENSE %%WWWDIR%%/PhpSecInfo/PhpSecInfo.php |
