aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpsysinfo/Makefile
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-01-20 21:59:17 +0800
committeralane <alane@FreeBSD.org>2003-01-20 21:59:17 +0800
commitf07fa9bc35ac4bf46e98508a2bc7d524b8e13ac1 (patch)
treeb597fe6e588b24014caa8cdc5de49356ebab8dae /www/phpsysinfo/Makefile
parent9e9d28e834bed23d95fe52de038e08959be552eb (diff)
downloadfreebsd-ports-graphics-f07fa9bc35ac4bf46e98508a2bc7d524b8e13ac1.tar.gz
freebsd-ports-graphics-f07fa9bc35ac4bf46e98508a2bc7d524b8e13ac1.tar.zst
freebsd-ports-graphics-f07fa9bc35ac4bf46e98508a2bc7d524b8e13ac1.zip
build own plist so cannot get out of sync
Diffstat (limited to 'www/phpsysinfo/Makefile')
-rw-r--r--www/phpsysinfo/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile
index 78e1ec1bff8..ca22380fc3d 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} . \