1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/security/phpsecinfo/Makefile
Rong-En Fan 4222c0f53b - Update to 0.2.1
PR:		ports/111526
Submitted by:	chinsan (maintainer)
2007-04-14 07:39:41 +00:00

39 lines
916 B
Makefile

# New ports collection makefile for: phpsecinfo
# Date created: 2007/04/01
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= phpsecinfo
PORTVERSION= 0.2.1
CATEGORIES= security www
MASTER_SITES= LOCAL/chinsan
MAINTAINER= chinsan@FreeBSD.org
COMMENT= A PHP environment security auditing toool
USE_ZIP= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-20070406
TEMP_PLIST= ${WRKDIR}/temp-pkg-plist
do-install:
@${MKDIR} ${WWWDIR}
@${CP} -R ${WRKSRC}/ ${WWWDIR}/
@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR}
# This target is only meant to be used by the port maintainer.
x-generate-plist:
@make makesum extract
@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}
.include <bsd.port.mk>