aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnomehier/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-01-14 21:52:04 +0800
committeradamw <adamw@FreeBSD.org>2004-01-14 21:52:04 +0800
commitab0c94a008439432262c6cad1cce64d888d19d6b (patch)
tree270cf52f99a21e26221f4fc889a340b7a2cec79d /misc/gnomehier/Makefile
parent4e2df0f53a2fe22efc167d5460addc27bdd2274f (diff)
downloadfreebsd-ports-gnome-ab0c94a008439432262c6cad1cce64d888d19d6b.tar.gz
freebsd-ports-gnome-ab0c94a008439432262c6cad1cce64d888d19d6b.tar.zst
freebsd-ports-gnome-ab0c94a008439432262c6cad1cce64d888d19d6b.zip
Automate pkg-plist creation.
Diffstat (limited to 'misc/gnomehier/Makefile')
-rw-r--r--misc/gnomehier/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/gnomehier/Makefile b/misc/gnomehier/Makefile
index 481ae03c8033..c3ee66bee0ad 100644
--- a/misc/gnomehier/Makefile
+++ b/misc/gnomehier/Makefile
@@ -17,12 +17,21 @@ COMMENT= An utility port, installing hierarchy of common GNOME directories
NO_BUILD= yes
NO_WRKSUBDIR= yes
+PLIST?= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
do-fetch:
@${DO_NADA}
+pre-install:
+ @${RM} -f ${PLIST}
+ @${TOUCH} -f ${PLIST}
+ @${CAT} ${FILESDIR}/dirlist | sort | ${SED} -e \
+ 's|$$|/.keep_me|' >> ${PLIST}
+ @${CAT} ${FILESDIR}/dirlist | sort -r | ${SED} -e \
+ 's|^|@dirrm |' >> ${PLIST}
+
do-install:
@for dir in `${CAT} ${FILESDIR}/dirlist`; \
do \