aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-icons
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2006-09-14 03:15:57 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2006-09-14 03:15:57 +0800
commitb4f3a9936aed4884a260cae75b380c0b25016e49 (patch)
tree138310d859d243dee5cbdf1fcad67e9f0987c62b /x11-themes/gnome-icons
parent2563e6f1f5945d4d27287a0b3661f75745b21a15 (diff)
downloadfreebsd-ports-gnome-b4f3a9936aed4884a260cae75b380c0b25016e49.tar.gz
freebsd-ports-gnome-b4f3a9936aed4884a260cae75b380c0b25016e49.tar.zst
freebsd-ports-gnome-b4f3a9936aed4884a260cae75b380c0b25016e49.zip
Fix pointyhat errors by not trying to be lazy by autogenerating the
pkg-plist. Notified by: krisbot
Diffstat (limited to 'x11-themes/gnome-icons')
-rw-r--r--x11-themes/gnome-icons/bsd.gnome-icons.mk14
1 files changed, 2 insertions, 12 deletions
diff --git a/x11-themes/gnome-icons/bsd.gnome-icons.mk b/x11-themes/gnome-icons/bsd.gnome-icons.mk
index bb070a491b44..5d8909cd3be9 100644
--- a/x11-themes/gnome-icons/bsd.gnome-icons.mk
+++ b/x11-themes/gnome-icons/bsd.gnome-icons.mk
@@ -16,23 +16,13 @@ REASON= Themes may contain artwork not done by the author. \
Keep FreeBSD safe if theme author violated copyrights.
USE_X_PREFIX= yes
-PLIST= ${WRKDIR}/plist
WANT_GNOME= yes
INSTALLS_ICONS= yes
-pre-install:
- @${RM} -rf ${PLIST}
+do-install: icon-do-install
- @cd ${WRKDIR} && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \
- ${SED} -i "" -e "s:^:share/icons/:" ${PLIST}; \
- ${FIND} * -type d ! -empty | ${SORT} -r | \
- ${SED} -e "s:^:@dirrm share/icons/:" | \
- ${GREP} / >> ${PLIST}; \
- ${ECHO} "@unexec /bin/rmdir %D/share/icons 2> /dev/null || \
- /usr/bin/true" >> ${PLIST}
-
-do-install:
+icon-do-install:
cd ${WRKDIR} && ${FIND} * -type d ! -empty \
-exec ${MKDIR} -m 0755 \
${PREFIX}/share/icons/"{}" \;