summaryrefslogtreecommitdiff
path: root/x11/controlcenter
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2002-08-19 02:48:07 +0000
committerkei <kei@pkgsrc.org>2002-08-19 02:48:07 +0000
commitb8e0a81f8a972cf186032193c9c06cf60ea0b5f9 (patch)
tree8ed287595ba24ca75fac1546ac92671cf207c191 /x11/controlcenter
parent9cf6a6eeaad15eadd746ffc997e9ab65e7bcca38 (diff)
downloadpkgsrc-b8e0a81f8a972cf186032193c9c06cf60ea0b5f9.tar.gz
create an empty directory ${PREFIX}/share/control-center/capplets on post-
install target and register it to PLIST to make deinstallation happy.
Diffstat (limited to 'x11/controlcenter')
-rw-r--r--x11/controlcenter/Makefile5
-rw-r--r--x11/controlcenter/PLIST4
2 files changed, 7 insertions, 2 deletions
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