summaryrefslogtreecommitdiff
path: root/misc/gnome-utils
diff options
context:
space:
mode:
authordanw <danw>2000-06-24 13:57:52 +0000
committerdanw <danw>2000-06-24 13:57:52 +0000
commitbae1a82366cb501f5cd2c2b4faed06818e4b052f (patch)
tree403ab03da1e2750a1cd684dc6697acdff9bf5985 /misc/gnome-utils
parent29d58c2ece51fe92ad2a2a313b653199e7eb6542 (diff)
downloadpkgsrc-bae1a82366cb501f5cd2c2b4faed06818e4b052f.tar.gz
Fix up PLIST in post-install if building without libgtop
Diffstat (limited to 'misc/gnome-utils')
-rw-r--r--misc/gnome-utils/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/misc/gnome-utils/Makefile b/misc/gnome-utils/Makefile
index 9513e7062a6..a95580aebdb 100644
--- a/misc/gnome-utils/Makefile
+++ b/misc/gnome-utils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2000/06/24 03:30:26 danw Exp $
+# $NetBSD: Makefile,v 1.20 2000/06/24 13:57:52 danw Exp $
DISTNAME= gnome-utils-1.2.0
CATEGORIES= misc x11 gnome
@@ -24,4 +24,15 @@ USE_X11BASE= YES
CONFIGURE_ENV+= XGETTEXT="${LOCALBASE}/bin/xgettext"
CONFIGURE_ARGS= --with-ncurses=${LOCALBASE}
+PLIST_SRC= ${WRKDIR}/PLIST
+
+post-install:
+ @if [ -x ${PREFIX}/bin/gdiskfree ]; then \
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
+ else \
+ ${EGREP} -v 'gdiskfree|stripchart' \
+ < ${PKGDIR}/PLIST > ${PLIST_SRC}; \
+ fi
+
+
.include "../../mk/bsd.pkg.mk"