summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron>1999-11-14 23:28:31 +0000
committertron <tron>1999-11-14 23:28:31 +0000
commit8c4278cfc6cab00319d1be37564d4c7480ebdc27 (patch)
tree84f562492e4d182480d02a4c73408ec4fb930866 /x11
parent30ef733dcd62a54e45b162329d30c63756e5f991 (diff)
downloadpkgsrc-8c4278cfc6cab00319d1be37564d4c7480ebdc27.tar.gz
Adapt package list automatically if "libgtop" related applets were not
built.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-core/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/gnome-core/Makefile b/x11/gnome-core/Makefile
index 5ed382446df..3110046d725 100644
--- a/x11/gnome-core/Makefile
+++ b/x11/gnome-core/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 1999/11/14 18:57:30 tron Exp $
+# $NetBSD: Makefile,v 1.33 1999/11/14 23:28:31 tron Exp $
DISTNAME= gnome-core-1.0.53
CATEGORIES= x11 gnome
@@ -29,10 +29,20 @@ CONFIGURE_ENV+= ESD_CFLAGS="${ESD_CFLAGS}" \
LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \
CPPFLAGS="${CPPFLAGS}"
+PLIST_SRC= ${WRKDIR}/PLIST
+
pre-configure:
@${MKDIR} ${WRKDIR}/sys
@${LN} -s /usr/include/soundcard.h ${WRKDIR}/sys
+post-install:
+ @if [ -x ${PREFIX}/bin/cpumemusage_applet ]; then \
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
+ else \
+ ${EGREP} -v '/((cpumem|disk)usage|(cpu|mem|multi|swap)load)_applet' \
+ <${PKGDIR}/PLIST >${PLIST_SRC}; \
+ fi
+
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD")