blob: bcb47a8d0b9b6de7b36e44405b348710930bb17e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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>
|