pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/GConf2 Add some PRINT_PLIST_AWK magic for direct...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40874798b005
branches:  trunk
changeset: 480240:40874798b005
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Sep 02 11:50:24 2004 +0000

description:
Add some PRINT_PLIST_AWK magic for directories shared with GConf 1.x.

diffstat:

 devel/GConf2/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0e02b7effd9b -r 40874798b005 devel/GConf2/Makefile
--- a/devel/GConf2/Makefile     Thu Sep 02 11:38:07 2004 +0000
+++ b/devel/GConf2/Makefile     Thu Sep 02 11:50:24 2004 +0000
@@ -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 @@
 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.
 



Home | Main Index | Thread Index | Old Index