aboutsummaryrefslogtreecommitdiff
path: root/www/phpsysinfo-dev
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-06 13:41:16 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-06 13:41:16 +0000
commitc32484602f4723c343a2a994ba65d6246f6d2502 (patch)
tree21aff53ec214961803312323294eb81e1010820d /www/phpsysinfo-dev
parent9a74e910d55d2759eb01096dd4b1a9282b15cc3d (diff)
downloadports-c32484602f4723c343a2a994ba65d6246f6d2502.tar.gz
ports-c32484602f4723c343a2a994ba65d6246f6d2502.zip
Notes
Diffstat (limited to 'www/phpsysinfo-dev')
-rw-r--r--www/phpsysinfo-dev/Makefile21
-rw-r--r--www/phpsysinfo-dev/distinfo6
-rw-r--r--www/phpsysinfo-dev/pkg-plist99
3 files changed, 112 insertions, 14 deletions
diff --git a/www/phpsysinfo-dev/Makefile b/www/phpsysinfo-dev/Makefile
index 8253bd557c3d..727f2e0a8daa 100644
--- a/www/phpsysinfo-dev/Makefile
+++ b/www/phpsysinfo-dev/Makefile
@@ -5,11 +5,11 @@
# $FreeBSD$
PORTNAME= phpSysInfo
-DISTVERSION= 3.0-RC3
+DISTVERSION= 3.0-RC4
CATEGORIES= www
MASTER_SITES= SF
-MAINTAINER= jadawin@tuxaco.net
+MAINTAINER= jadawin@FreeBSD.org
COMMENT= A php script that displays info about the host being accessed
USE_PHP= pcre xml
@@ -17,15 +17,13 @@ WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME:L}
NO_BUILD= yes
-PLIST= ${WRKDIR}/plist
-post-patch:
- ${RM} -f ${PLIST}
- cd ${WRKSRC};\
- ${FIND} . ! -type d | ${SORT} | ${SED} "s|^\.|${WWWDIR_REL}|"\
- >${PLIST};\
- ${FIND} . -type d | ${SORT} -r | ${SED} "s|^\.|@dirrm ${WWWDIR_REL}|"\
- >>${PLIST}
+.include <bsd.port.pre.mk>
+
+post-install:
+ @if [ ! -f ${WWWDIR}/config.php ]; then \
+ ${CP} -p ${WWWDIR}/config.php ${WWWDIR}/config.php.bak ; \
+ fi
do-install:
${MKDIR} ${WWWDIR}
@@ -33,5 +31,6 @@ do-install:
| ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
${CHMOD} -R ${BINMODE} ${WWWDIR}
${FIND} ${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}
+ ${CP} ${WWWDIR}/config.php.new ${WWWDIR}/config.php
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/phpsysinfo-dev/distinfo b/www/phpsysinfo-dev/distinfo
index 9605ed9cc085..d6a8558922fa 100644
--- a/www/phpsysinfo-dev/distinfo
+++ b/www/phpsysinfo-dev/distinfo
@@ -1,3 +1,3 @@
-MD5 (phpSysInfo-3.0-RC3.tar.gz) = 297ea14c25be5fb110f46951dca18025
-SHA256 (phpSysInfo-3.0-RC3.tar.gz) = c424dba3848b4b76fe8965c105fecb9396713c176b45dd131f3d340851d87d7d
-SIZE (phpSysInfo-3.0-RC3.tar.gz) = 136373
+MD5 (phpSysInfo-3.0-RC4.tar.gz) = ed65c41c89e10e9ed0b7ce7bee8582f1
+SHA256 (phpSysInfo-3.0-RC4.tar.gz) = 42d3e26f342155b1b2f3eb7d8fdb284db8797b8af90f9397e3c155f56d21fc26
+SIZE (phpSysInfo-3.0-RC4.tar.gz) = 138853
diff --git a/www/phpsysinfo-dev/pkg-plist b/www/phpsysinfo-dev/pkg-plist
new file mode 100644
index 000000000000..535b546625ef
--- /dev/null
+++ b/www/phpsysinfo-dev/pkg-plist
@@ -0,0 +1,99 @@
+%%WWWDIR%%/COPYING
+%%WWWDIR%%/ChangeLog
+%%WWWDIR%%/README
+%%WWWDIR%%/config.php.new
+%%WWWDIR%%/config.php
+%%WWWDIR%%/distros.ini
+%%WWWDIR%%/gfx/asc.gif
+%%WWWDIR%%/gfx/bg.gif
+%%WWWDIR%%/gfx/body.gif
+%%WWWDIR%%/gfx/bullet_toggle_minus.png
+%%WWWDIR%%/gfx/bullet_toggle_plus.png
+%%WWWDIR%%/gfx/desc.gif
+%%WWWDIR%%/gfx/html.gif
+%%WWWDIR%%/images/Arch.gif
+%%WWWDIR%%/images/CentOS.png
+%%WWWDIR%%/images/Cobalt.png
+%%WWWDIR%%/images/Darwin.png
+%%WWWDIR%%/images/Debian.png
+%%WWWDIR%%/images/Fedora.png
+%%WWWDIR%%/images/FreeBSD.png
+%%WWWDIR%%/images/Gentoo.png
+%%WWWDIR%%/images/Mandrake.png
+%%WWWDIR%%/images/NetBSD.png
+%%WWWDIR%%/images/OpenBSD.png
+%%WWWDIR%%/images/PLD.gif
+%%WWWDIR%%/images/Redhat.png
+%%WWWDIR%%/images/Rubix.png
+%%WWWDIR%%/images/Slackware.png
+%%WWWDIR%%/images/SunOS.png
+%%WWWDIR%%/images/Suse.png
+%%WWWDIR%%/images/Trustix.gif
+%%WWWDIR%%/images/Ubuntu.gif
+%%WWWDIR%%/images/free-eos.png
+%%WWWDIR%%/images/index.html
+%%WWWDIR%%/images/lfs.png
+%%WWWDIR%%/images/unknown.png
+%%WWWDIR%%/images/xp.gif
+%%WWWDIR%%/includes/class.Error.inc.php
+%%WWWDIR%%/includes/common_functions.php
+%%WWWDIR%%/includes/index.html
+%%WWWDIR%%/includes/mb/class.hddtemp.inc.php
+%%WWWDIR%%/includes/mb/class.healthd.inc.php
+%%WWWDIR%%/includes/mb/class.hwsensors.inc.php
+%%WWWDIR%%/includes/mb/class.lmsensors.inc.php
+%%WWWDIR%%/includes/mb/class.mbm5.inc.php
+%%WWWDIR%%/includes/mb/class.mbmon.inc.php
+%%WWWDIR%%/includes/mb/index.html
+%%WWWDIR%%/includes/os/class.BSD.common.inc.php
+%%WWWDIR%%/includes/os/class.Darwin.inc.php
+%%WWWDIR%%/includes/os/class.FreeBSD.inc.php
+%%WWWDIR%%/includes/os/class.HP-UX.inc.php
+%%WWWDIR%%/includes/os/class.Linux.inc.php
+%%WWWDIR%%/includes/os/class.NetBSD.inc.php
+%%WWWDIR%%/includes/os/class.OpenBSD.inc.php
+%%WWWDIR%%/includes/os/class.SunOS.inc.php
+%%WWWDIR%%/includes/os/class.WINNT.inc.php
+%%WWWDIR%%/includes/os/class.parseProgs.inc.php
+%%WWWDIR%%/includes/os/index.html
+%%WWWDIR%%/includes/ups/class.apcupsd.inc.php
+%%WWWDIR%%/includes/ups/index.html
+%%WWWDIR%%/includes/xml.class.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/jquery.js
+%%WWWDIR%%/jquery.tablesorter.pack.js
+%%WWWDIR%%/language/cz.xml
+%%WWWDIR%%/language/de.xml
+%%WWWDIR%%/language/en.xml
+%%WWWDIR%%/language/es.xml
+%%WWWDIR%%/language/fr.xml
+%%WWWDIR%%/language/gl.xml
+%%WWWDIR%%/language/hu.xml
+%%WWWDIR%%/language/it.xml
+%%WWWDIR%%/language/language.php
+%%WWWDIR%%/language/no.xml
+%%WWWDIR%%/language/pl.xml
+%%WWWDIR%%/language/ru.xml
+%%WWWDIR%%/language/sk.xml
+%%WWWDIR%%/language/sv.xml
+%%WWWDIR%%/language/uk.xml
+%%WWWDIR%%/phpsysinfo.dtd
+%%WWWDIR%%/phpsysinfo.js
+%%WWWDIR%%/templates/aqua.css
+%%WWWDIR%%/templates/aqua/aq_background.gif
+%%WWWDIR%%/templates/clean.css
+%%WWWDIR%%/templates/index.html
+%%WWWDIR%%/templates/jstyle_blue.css
+%%WWWDIR%%/templates/jstyle_green.css
+%%WWWDIR%%/templates/phpsysinfo.css
+%%WWWDIR%%/xml.php
+@dirrm %%WWWDIR%%/templates/aqua
+@dirrm %%WWWDIR%%/templates
+@dirrm %%WWWDIR%%/language
+@dirrm %%WWWDIR%%/includes/ups
+@dirrm %%WWWDIR%%/includes/os
+@dirrm %%WWWDIR%%/includes/mb
+@dirrm %%WWWDIR%%/includes
+@dirrm %%WWWDIR%%/images
+@dirrm %%WWWDIR%%/gfx
+@dirrmtry %%WWWDIR%%