mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
4222c0f53b
PR: ports/111526 Submitted by: chinsan (maintainer)
39 lines
916 B
Makefile
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>
|