diff options
Diffstat (limited to 'misc/gnomehier/Makefile')
-rw-r--r-- | misc/gnomehier/Makefile | 9 |
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 \ |