aboutsummaryrefslogtreecommitdiff
path: root/www/phpsysinfo
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpsysinfo')
-rw-r--r--www/phpsysinfo/Makefile9
-rw-r--r--www/phpsysinfo/pkg-plist141
2 files changed, 9 insertions, 141 deletions
diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile
index 78e1ec1bff87..ca22380fc3d9 100644
--- a/www/phpsysinfo/Makefile
+++ b/www/phpsysinfo/Makefile
@@ -20,9 +20,18 @@ WEBGRP?= www
APACHEDIR= ${PREFIX}/www/data
INSTALLDIR= ${APACHEDIR}/phpSysInfo
NO_BUILD= yes
+PLIST= ${WRKDIR}/plist
PLIST_SUB+= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,}
+post-patch:
+ rm -f ${PLIST}
+ cd ${WRKSRC};\
+ ${FIND} . ! -type d | sort | ${SED} "s|^.|%%INSTALLDIR%%|"\
+ >${PLIST};\
+ ${FIND} . -type d | sort -r | ${SED} "s|^.|@dirrm %%INSTALLDIR%%|"\
+ >>${PLIST}
+
do-install:
${MKDIR} ${INSTALLDIR}
cd ${WRKSRC}; ${FIND} . \
diff --git a/www/phpsysinfo/pkg-plist b/www/phpsysinfo/pkg-plist
deleted file mode 100644
index f477c065b72a..000000000000
--- a/www/phpsysinfo/pkg-plist
+++ /dev/null
@@ -1,141 +0,0 @@
-%%INSTALLDIR%%/COPYING
-%%INSTALLDIR%%/ChangeLog
-%%INSTALLDIR%%/INSTALL
-%%INSTALLDIR%%/README
-%%INSTALLDIR%%/includes/class.Template.inc.php
-%%INSTALLDIR%%/includes/common_functions.php
-%%INSTALLDIR%%/includes/lang/big5.php
-%%INSTALLDIR%%/includes/lang/br.php
-%%INSTALLDIR%%/includes/lang/ca.php
-%%INSTALLDIR%%/includes/lang/cs.php
-%%INSTALLDIR%%/includes/lang/ct.php
-%%INSTALLDIR%%/includes/lang/da.php
-%%INSTALLDIR%%/includes/lang/de.php
-%%INSTALLDIR%%/includes/lang/en.php
-%%INSTALLDIR%%/includes/lang/es.php
-%%INSTALLDIR%%/includes/lang/et.php
-%%INSTALLDIR%%/includes/lang/fi.php
-%%INSTALLDIR%%/includes/lang/fr.php
-%%INSTALLDIR%%/includes/lang/id.php
-%%INSTALLDIR%%/includes/lang/is.php
-%%INSTALLDIR%%/includes/lang/it.php
-%%INSTALLDIR%%/includes/lang/kr.php
-%%INSTALLDIR%%/includes/lang/lt.php
-%%INSTALLDIR%%/includes/lang/nl.php
-%%INSTALLDIR%%/includes/lang/no.php
-%%INSTALLDIR%%/includes/lang/pl.php
-%%INSTALLDIR%%/includes/lang/ro.php
-%%INSTALLDIR%%/includes/lang/sk.php
-%%INSTALLDIR%%/includes/lang/sv.php
-%%INSTALLDIR%%/includes/lang/tw.php
-%%INSTALLDIR%%/includes/os/class.BSD.common.inc.php
-%%INSTALLDIR%%/includes/os/class.BSD.common.inc.php.orig
-%%INSTALLDIR%%/includes/os/class.Darwin.inc.php
-%%INSTALLDIR%%/includes/os/class.FreeBSD.inc.php
-%%INSTALLDIR%%/includes/os/class.Linux.inc.php
-%%INSTALLDIR%%/includes/os/class.NetBSD.inc.php
-%%INSTALLDIR%%/includes/os/class.OpenBSD.inc.php
-%%INSTALLDIR%%/includes/system_footer.php
-%%INSTALLDIR%%/includes/system_header.php
-%%INSTALLDIR%%/includes/tables/filesystems.php
-%%INSTALLDIR%%/includes/tables/hardware.php
-%%INSTALLDIR%%/includes/tables/memory.php
-%%INSTALLDIR%%/includes/tables/network.php
-%%INSTALLDIR%%/includes/tables/vitals.php
-%%INSTALLDIR%%/index.php
-%%INSTALLDIR%%/templates/aq/aq.css
-%%INSTALLDIR%%/templates/aq/box.tpl
-%%INSTALLDIR%%/templates/aq/form.tpl
-%%INSTALLDIR%%/templates/aq/images/aq_background.gif
-%%INSTALLDIR%%/templates/aq/images/bar_left.gif
-%%INSTALLDIR%%/templates/aq/images/bar_middle.gif
-%%INSTALLDIR%%/templates/aq/images/bar_right.gif
-%%INSTALLDIR%%/templates/aq/images/coininfd.gif
-%%INSTALLDIR%%/templates/aq/images/coininfg.gif
-%%INSTALLDIR%%/templates/aq/images/coinsupd.gif
-%%INSTALLDIR%%/templates/aq/images/coinsupg.gif
-%%INSTALLDIR%%/templates/aq/images/d.gif
-%%INSTALLDIR%%/templates/aq/images/fond.gif
-%%INSTALLDIR%%/templates/aq/images/g.gif
-%%INSTALLDIR%%/templates/aq/images/inf.gif
-%%INSTALLDIR%%/templates/aq/images/redbar_left.gif
-%%INSTALLDIR%%/templates/aq/images/redbar_middle.gif
-%%INSTALLDIR%%/templates/aq/images/redbar_right.gif
-%%INSTALLDIR%%/templates/aq/images/space15_15.gif
-%%INSTALLDIR%%/templates/aq/images/sup.gif
-%%INSTALLDIR%%/templates/black/black.css
-%%INSTALLDIR%%/templates/black/box.tpl
-%%INSTALLDIR%%/templates/black/form.tpl
-%%INSTALLDIR%%/templates/black/images/aq_background.gif
-%%INSTALLDIR%%/templates/black/images/bar_left.gif
-%%INSTALLDIR%%/templates/black/images/bar_middle.gif
-%%INSTALLDIR%%/templates/black/images/bar_right.gif
-%%INSTALLDIR%%/templates/black/images/coininfd.gif
-%%INSTALLDIR%%/templates/black/images/coininfg.gif
-%%INSTALLDIR%%/templates/black/images/coinsupd.gif
-%%INSTALLDIR%%/templates/black/images/coinsupg.gif
-%%INSTALLDIR%%/templates/black/images/d.gif
-%%INSTALLDIR%%/templates/black/images/fond.gif
-%%INSTALLDIR%%/templates/black/images/g.gif
-%%INSTALLDIR%%/templates/black/images/inf.gif
-%%INSTALLDIR%%/templates/black/images/redbar_left.gif
-%%INSTALLDIR%%/templates/black/images/redbar_middle.gif
-%%INSTALLDIR%%/templates/black/images/redbar_right.gif
-%%INSTALLDIR%%/templates/black/images/space15_15.gif
-%%INSTALLDIR%%/templates/black/images/sup.gif
-%%INSTALLDIR%%/templates/blue/blue.css
-%%INSTALLDIR%%/templates/blue/box.tpl
-%%INSTALLDIR%%/templates/blue/form.tpl
-%%INSTALLDIR%%/templates/blue/images/bar_left.gif
-%%INSTALLDIR%%/templates/blue/images/bar_middle.gif
-%%INSTALLDIR%%/templates/blue/images/bar_right.gif
-%%INSTALLDIR%%/templates/blue/images/redbar_left.gif
-%%INSTALLDIR%%/templates/blue/images/redbar_middle.gif
-%%INSTALLDIR%%/templates/blue/images/redbar_right.gif
-%%INSTALLDIR%%/templates/blue/images/trans.gif
-%%INSTALLDIR%%/templates/classic/box.tpl
-%%INSTALLDIR%%/templates/classic/classic.css
-%%INSTALLDIR%%/templates/classic/form.tpl
-%%INSTALLDIR%%/templates/classic/images/bar_left.gif
-%%INSTALLDIR%%/templates/classic/images/bar_middle.gif
-%%INSTALLDIR%%/templates/classic/images/bar_right.gif
-%%INSTALLDIR%%/templates/classic/images/redbar_left.gif
-%%INSTALLDIR%%/templates/classic/images/redbar_middle.gif
-%%INSTALLDIR%%/templates/classic/images/redbar_right.gif
-%%INSTALLDIR%%/templates/classic/images/trans.gif
-%%INSTALLDIR%%/templates/metal/box.tpl
-%%INSTALLDIR%%/templates/metal/form.tpl
-%%INSTALLDIR%%/templates/metal/images/bar_left.gif
-%%INSTALLDIR%%/templates/metal/images/bar_middle.gif
-%%INSTALLDIR%%/templates/metal/images/bar_right.gif
-%%INSTALLDIR%%/templates/metal/images/coininfd.gif
-%%INSTALLDIR%%/templates/metal/images/coininfg.gif
-%%INSTALLDIR%%/templates/metal/images/coinsupd.gif
-%%INSTALLDIR%%/templates/metal/images/coinsupg.gif
-%%INSTALLDIR%%/templates/metal/images/d.gif
-%%INSTALLDIR%%/templates/metal/images/fond.gif
-%%INSTALLDIR%%/templates/metal/images/g.gif
-%%INSTALLDIR%%/templates/metal/images/inf.gif
-%%INSTALLDIR%%/templates/metal/images/metal_background.gif
-%%INSTALLDIR%%/templates/metal/images/redbar_left.gif
-%%INSTALLDIR%%/templates/metal/images/redbar_middle.gif
-%%INSTALLDIR%%/templates/metal/images/redbar_right.gif
-%%INSTALLDIR%%/templates/metal/images/space15_15.gif
-%%INSTALLDIR%%/templates/metal/images/sup.gif
-%%INSTALLDIR%%/templates/metal/metal.css
-@dirrm %%INSTALLDIR%%/templates/metal/images
-@dirrm %%INSTALLDIR%%/templates/metal
-@dirrm %%INSTALLDIR%%/templates/classic/images
-@dirrm %%INSTALLDIR%%/templates/classic
-@dirrm %%INSTALLDIR%%/templates/blue/images
-@dirrm %%INSTALLDIR%%/templates/blue
-@dirrm %%INSTALLDIR%%/templates/black/images
-@dirrm %%INSTALLDIR%%/templates/black
-@dirrm %%INSTALLDIR%%/templates/aq/images
-@dirrm %%INSTALLDIR%%/templates/aq
-@dirrm %%INSTALLDIR%%/templates
-@dirrm %%INSTALLDIR%%/includes/tables
-@dirrm %%INSTALLDIR%%/includes/os
-@dirrm %%INSTALLDIR%%/includes/lang
-@dirrm %%INSTALLDIR%%/includes
-@dirrm %%INSTALLDIR%%