blob: 939b510b0a8bb09e9b4510f7e0af474b30b9bd1c (
plain) (
blame)
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= ports@FreeBSD.org
COMMENT= PHP environment security auditing tool
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>
|