summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-09-02 11:50:24 +0000
committerjmmv <jmmv@pkgsrc.org>2004-09-02 11:50:24 +0000
commitb5920de1343b3ab6b7682e7e86dd57fc0c7e9dac (patch)
tree495d1ad2419096bb32673c1ea0b1d03c3698d520 /devel
parentef3c79882c53b6c2e076d98f3f9bf02ddd8ad85b (diff)
downloadpkgsrc-b5920de1343b3ab6b7682e7e86dd57fc0c7e9dac.tar.gz
Add some PRINT_PLIST_AWK magic for directories shared with GConf 1.x.
Diffstat (limited to 'devel')
-rw-r--r--devel/GConf2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/GConf2/Makefile b/devel/GConf2/Makefile
index 5763546f182..2aa0af1f3a2 100644
--- a/devel/GConf2/Makefile
+++ b/devel/GConf2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/05/03 20:55:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.30 2004/09/02 11:50:24 jmmv Exp $
#
.include "../../devel/GConf2/Makefile.common"
@@ -16,6 +16,10 @@ OWN_DIRS+= ${PKG_SYSCONFDIR}/gconf.xml.mandatory
EGDIR= ${PREFIX}/share/examples/GConf2
CONF_FILES= ${EGDIR}/path ${PKG_SYSCONFDIR}/2/path
+PRINT_PLIST_AWK+= /^@dirrm (include\/gconf|lib\/GConf|share\/gconf)$$/ \
+ { print "@unexec $${RMDIR} -p %D/" $$2 \
+ " 2>/dev/null || $${TRUE}"; next}
+
# XXX: We need to use XML_CATALOGS here to register the installed DTD.
# But we have to wait until a public identifier is choosen for it.