summaryrefslogtreecommitdiff
path: root/misc/gnome-utils
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2000-06-24 13:57:52 +0000
committerdanw <danw@pkgsrc.org>2000-06-24 13:57:52 +0000
commit29170806ce7ae9b5223b8793ff52b17d690f52d0 (patch)
tree403ab03da1e2750a1cd684dc6697acdff9bf5985 /misc/gnome-utils
parent974682e0f4de9aae4927793495726ae027ab4e7a (diff)
downloadpkgsrc-29170806ce7ae9b5223b8793ff52b17d690f52d0.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"