summaryrefslogtreecommitdiffstats
path: root/www/phpsysinfo-dev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpsysinfo-dev/Makefile')
-rw-r--r--www/phpsysinfo-dev/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/phpsysinfo-dev/Makefile b/www/phpsysinfo-dev/Makefile
index 78e1ec1..ca22380 100644
--- a/www/phpsysinfo-dev/Makefile
+++ b/www/phpsysinfo-dev/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} . \
OpenPOWER on IntegriCloud