diff options
author | tron <tron@pkgsrc.org> | 1999-11-14 23:28:31 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-11-14 23:28:31 +0000 |
commit | 517df2220393eff5f65508576427912bea2c3e01 (patch) | |
tree | 84f562492e4d182480d02a4c73408ec4fb930866 /x11/gnome-core | |
parent | 0d1a84f623b102169fd860a884516e2c2f1fceff (diff) | |
download | pkgsrc-517df2220393eff5f65508576427912bea2c3e01.tar.gz |
Adapt package list automatically if "libgtop" related applets were not
built.
Diffstat (limited to 'x11/gnome-core')
-rw-r--r-- | x11/gnome-core/Makefile | 12 |
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") |