2002-03-15 06:16:19 +01:00
|
|
|
# New ports collection makefile for: phpSysInfo
|
|
|
|
# Date created: Mon Mar 04, 2002
|
|
|
|
# Whom: Bob Bomar <bob@fly.homeunix.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phpSysInfo
|
2007-12-15 00:14:53 +01:00
|
|
|
DISTVERSION= 3.0-RC3
|
2002-03-15 06:16:19 +01:00
|
|
|
CATEGORIES= www
|
2007-12-15 00:14:53 +01:00
|
|
|
MASTER_SITES= SF
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2007-12-15 00:14:53 +01:00
|
|
|
MAINTAINER= jadawin@tuxaco.net
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= A php script that displays info about the host being accessed
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2004-09-21 22:04:24 +02:00
|
|
|
USE_PHP= pcre xml
|
2003-06-27 07:13:11 +02:00
|
|
|
WANT_PHP_WEB= yes
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2005-12-24 00:18:38 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:L}
|
2002-03-15 06:16:19 +01:00
|
|
|
NO_BUILD= yes
|
2003-01-20 14:59:17 +01:00
|
|
|
PLIST= ${WRKDIR}/plist
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2003-01-20 14:59:17 +01:00
|
|
|
post-patch:
|
2004-09-21 22:04:24 +02:00
|
|
|
${RM} -f ${PLIST}
|
2003-01-20 14:59:17 +01:00
|
|
|
cd ${WRKSRC};\
|
2007-03-24 15:04:36 +01:00
|
|
|
${FIND} . ! -type d | ${SORT} | ${SED} "s|^\.|${WWWDIR_REL}|"\
|
2003-01-20 14:59:17 +01:00
|
|
|
>${PLIST};\
|
2007-03-24 15:04:36 +01:00
|
|
|
${FIND} . -type d | ${SORT} -r | ${SED} "s|^\.|@dirrm ${WWWDIR_REL}|"\
|
2003-01-20 14:59:17 +01:00
|
|
|
>>${PLIST}
|
|
|
|
|
2002-03-15 06:16:19 +01:00
|
|
|
do-install:
|
2007-03-24 15:04:36 +01:00
|
|
|
${MKDIR} ${WWWDIR}
|
2002-03-15 06:16:19 +01:00
|
|
|
cd ${WRKSRC}; ${FIND} . \
|
2007-03-24 15:04:36 +01:00
|
|
|
| ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
|
|
${CHMOD} -R ${BINMODE} ${WWWDIR}
|
|
|
|
${FIND} ${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2004-02-09 12:43:38 +01:00
|
|
|
.include <bsd.port.mk>
|