From 3025186c380c2f23541e988e40aeaf2b21f0af01 Mon Sep 17 00:00:00 2001 From: kei Date: Mon, 19 Aug 2002 02:48:07 +0000 Subject: create an empty directory ${PREFIX}/share/control-center/capplets on post- install target and register it to PLIST to make deinstallation happy. --- x11/controlcenter/Makefile | 5 ++++- x11/controlcenter/PLIST | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'x11/controlcenter') diff --git a/x11/controlcenter/Makefile b/x11/controlcenter/Makefile index d91091a1629..58f9a3ee675 100644 --- a/x11/controlcenter/Makefile +++ b/x11/controlcenter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2002/07/16 13:11:13 agc Exp $ +# $NetBSD: Makefile,v 1.40 2002/08/19 02:48:07 kei Exp $ DISTNAME= control-center-1.4.0.4 CATEGORIES= x11 gnome @@ -38,6 +38,9 @@ post-patch: done @${ECHO} >>${WRKSRC}/control-center/cappletConf.sh.in "" +post-install: + ${MKDIR} ${PREFIX}/share/control-center/capplets + .include "../../devel/popt/buildlink.mk" .include "../../devel/gettext-lib/buildlink.mk" .include "../../graphics/gdk-pixbuf/buildlink.mk" diff --git a/x11/controlcenter/PLIST b/x11/controlcenter/PLIST index ebc62337d62..e6d1d7924b3 100644 --- a/x11/controlcenter/PLIST +++ b/x11/controlcenter/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2002/03/24 01:07:47 rh Exp $ +@comment $NetBSD: PLIST,v 1.6 2002/08/19 02:48:07 kei Exp $ bin/background-properties-capplet bin/file-types-capplet bin/gnome-edit-properties-capplet @@ -151,6 +151,7 @@ share/locale/zh_TW/LC_MESSAGES/control-center.mo share/omf/control-center/control-center-C.omf share/pixmaps/ccsplash.png share/pixmaps/control-center.png +@exec ${MKDIR} -m 0755 %D/share/control-center/capplets @dirrm share/omf/control-center @dirrm share/gnome/wm-properties @dirrm share/gnome/help/control-center/C/stylesheet-images @@ -165,6 +166,7 @@ share/pixmaps/control-center.png @dirrm share/gnome/apps/Settings/Desktop @dirrm share/gnome/apps/Settings @unexec ${RMDIR} -p %D/share/gnome/apps 2>/dev/null || true +@dirrm share/control-center/capplets @dirrm share/control-center/UIOptions @dirrm share/control-center/Session @dirrm share/control-center/Peripherals -- cgit v1.2.3