aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpsysinfo
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-03-06 21:41:16 +0800
committerjadawin <jadawin@FreeBSD.org>2008-03-06 21:41:16 +0800
commitbc97170f9b248e385b5a9fd944f0c4f8452e1e33 (patch)
tree71d6f4c360423f284a56d8c480cef56e4e7bef6b /www/phpsysinfo
parentcee37ff05ba0090e65a44e08d637c25efba86e3b (diff)
downloadfreebsd-ports-gnome-bc97170f9b248e385b5a9fd944f0c4f8452e1e33.tar.gz
freebsd-ports-gnome-bc97170f9b248e385b5a9fd944f0c4f8452e1e33.tar.zst
freebsd-ports-gnome-bc97170f9b248e385b5a9fd944f0c4f8452e1e33.zip
- Update to 3.0-RC4
- Add pkg-plist - Update maintainer address Approved by: tabthorpe (co-mentor)
Diffstat (limited to 'www/phpsysinfo')
-rw-r--r--www/phpsysinfo/Makefile21
-rw-r--r--www/phpsysinfo/distinfo6
-rw-r--r--www/phpsysinfo/pkg-plist99
3 files changed, 112 insertions, 14 deletions
diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile
index 8253bd557c3d..727f2e0a8daa 100644
--- a/www/phpsysinfo/Makefile
+++ b/www/phpsysinfo/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/distinfo b/www/phpsysinfo/distinfo
index 9605ed9cc085..d6a8558922fa 100644
--- a/www/phpsysinfo/distinfo
+++ b/www/phpsysinfo/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/pkg-plist b/www/phpsysinfo/pkg-plist
new file mode 100644
index 000000000000..535b546625ef
--- /dev/null
+++ b/www/phpsysinfo/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%%