summaryrefslogtreecommitdiff
path: root/devel/libglade2
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-29 20:28:31 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-29 20:28:31 +0000
commit87abcff5222b7e62815feb61bd32505fcbebb71b (patch)
tree14251603a157e1aa40959b03b741b83aec0588dd /devel/libglade2
parent79cb7798544098c136f24351d2b68757208b0f2e (diff)
downloadpkgsrc-87abcff5222b7e62815feb61bd32505fcbebb71b.tar.gz
Use the XML_ENTRIES variable provided by textproc/xmlcatmgr/catalogs.mk
to register the provided DTD. Bump PKGREVISION.
Diffstat (limited to 'devel/libglade2')
-rw-r--r--devel/libglade2/Makefile12
-rw-r--r--devel/libglade2/PLIST4
2 files changed, 7 insertions, 9 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index 499031fe89d..1134d0df601 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2003/01/12 19:48:34 jmmv Exp $
+# $NetBSD: Makefile,v 1.12 2003/01/29 20:28:31 jmmv Exp $
#
DISTNAME= libglade-2.0.1
PKGNAME= ${DISTNAME:S/libglade/libglade2/}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libglade/2.0/}
@@ -22,14 +22,14 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ENV+= jh_cv_path_python="${PYTHONBIN}"
CONFIGURE_ARGS+= --enable-gtk-doc=no
+XML_ENTRIES= system http://glade.gnome.org/glade-2.0.dtd \
+ ${PREFIX}/share/xml/libglade/glade-2.0.dtd
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/libglade/2.0
- ${PREFIX}/bin/xmlcatmgr -c ${PREFIX}/share/xml/catalog add "system" \
- "http://glade.gnome.org/glade-2.0.dtd" \
- ${PREFIX}/share/xml/libglade/glade-2.0.dtd
.include "../../lang/python/application.mk"
.include "../../textproc/libxml2/buildlink2.mk"
-.include "../../textproc/xmlcatmgr/buildlink2.mk"
+.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../x11/gtk2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libglade2/PLIST b/devel/libglade2/PLIST
index e73d64dc70b..21ba1f16ee9 100644
--- a/devel/libglade2/PLIST
+++ b/devel/libglade2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2003/01/11 21:14:43 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.9 2003/01/29 20:28:31 jmmv Exp $
bin/libglade-convert
include/libglade-2.0/glade/glade-build.h
include/libglade-2.0/glade/glade-init.h
@@ -25,8 +25,6 @@ share/doc/html/libglade/libglade-modules.html
share/doc/html/libglade/libglade-notes.html
share/doc/html/libglade/libglade.html
share/xml/libglade/glade-2.0.dtd
-@exec %D/bin/xmlcatmgr -c %D/share/xml/catalog add "system" "http://glade.gnome.org/glade-2.0.dtd" %D/share/xml/libglade/glade-2.0.dtd
-@unexec %D/bin/xmlcatmgr -c %D/share/xml/catalog remove "http://glade.gnome.org/glade-2.0.dtd"
@dirrm share/xml/libglade
@dirrm share/doc/html/libglade
@exec ${MKDIR} %D/lib/libglade/2.0