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$
|
2010-01-31 15:37:44 +01:00
|
|
|
#
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2008-12-24 21:57:52 +01:00
|
|
|
PORTNAME= phpsysinfo
|
2010-01-31 15:37:44 +01:00
|
|
|
PORTVERSION= 3.0.2
|
2002-03-15 06:16:19 +01:00
|
|
|
CATEGORIES= www
|
2010-01-31 15:37:44 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2008-08-25 11:55:04 +02:00
|
|
|
MAINTAINER= walt@relnor.com
|
2008-12-24 21:57:52 +01:00
|
|
|
COMMENT= A PHP script for displaying system information
|
|
|
|
|
|
|
|
LATEST_LINK= phpsysinfo-dev
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2010-01-31 15:37:44 +01:00
|
|
|
USE_PHP= pcre xml simplexml mbstring
|
2003-06-27 07:13:11 +02:00
|
|
|
WANT_PHP_WEB= yes
|
2002-03-15 06:16:19 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2010-01-31 15:37:44 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2008-03-06 14:41:16 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${WWWDIR}/config.php ]; then \
|
|
|
|
${CP} -p ${WWWDIR}/config.php ${WWWDIR}/config.php.bak ; \
|
|
|
|
fi
|
2003-01-20 14:59:17 +01:00
|
|
|
|
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}
|
2008-03-06 14:41:16 +01:00
|
|
|
${CP} ${WWWDIR}/config.php.new ${WWWDIR}/config.php
|
2002-03-15 06:16:19 +01:00
|
|
|
|
2010-01-31 15:37:44 +01:00
|
|
|
.if !defined(BATCH)
|
|
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2008-03-06 14:41:16 +01:00
|
|
|
.include <bsd.port.post.mk>
|