From 33d20c6ae86f0ab85d600e154ac54a0064c88467 Mon Sep 17 00:00:00 2001 From: ade Date: Wed, 23 May 2001 00:49:11 +0000 Subject: Add pkgconfig support to most of the core of GNOME 1.4 and GTK+/GLIB 1.2 to make transitioning to GNOME/GTK+/GLIB a little easier. --- devel/libglade/Makefile | 2 +- devel/libglade/files/patch-ab | 35 ++++++++++++----------------------- devel/libglade/pkg-plist | 3 +++ 3 files changed, 16 insertions(+), 24 deletions(-) (limited to 'devel/libglade') diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile index ebd31ef5c462..1a0f5c2260e8 100644 --- a/devel/libglade/Makefile +++ b/devel/libglade/Makefile @@ -7,7 +7,7 @@ PORTNAME= libglade PORTVERSION= 0.16 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libglade diff --git a/devel/libglade/files/patch-ab b/devel/libglade/files/patch-ab index b6f8a2945f60..7c58782cbc50 100644 --- a/devel/libglade/files/patch-ab +++ b/devel/libglade/files/patch-ab @@ -1,6 +1,11 @@ ---- Makefile.in.orig Wed Nov 22 08:36:15 2000 -+++ Makefile.in Wed Nov 29 18:22:18 2000 -@@ -162,8 +162,8 @@ +--- Makefile.in.orig Sat Feb 10 05:27:41 2001 ++++ Makefile.in Tue May 22 11:30:14 2001 +@@ -36,3 +36,3 @@ + pkgdatadir = $(datadir)/@PACKAGE@ +-pkglibdir = $(libdir)/@PACKAGE@ ++pkglibdir = $(prefix)/libdata/pkgconfig + pkgincludedir = $(includedir)/@PACKAGE@ +@@ -168,11 +168,11 @@ test_libglade_LDADD = $(THE_LIBS) $(XML_LIBS) -SUBDIRS = intl po macros glade doc +SUBDIRS = intl po macros glade @@ -10,25 +15,9 @@ m4data_DATA = libglade.m4 -confexecdir = $(libdir) -+confexecdir = $(prefix)/etc ++confexecdir = $(sysconfdir) confexec_DATA = libgladeConf.sh -@@ -201,3 +201,3 @@ - DIST_SOURCES = $(test_libglade_SOURCES) --DATA = $(confexec_DATA) $(m4data_DATA) $(pkgconfig_DATA) -+DATA = $(confexec_DATA) $(m4data_DATA) - -@@ -592,3 +592,3 @@ - --install-data-am: install-m4dataDATA install-pkgconfigDATA -+install-data-am: install-m4dataDATA - install-data: install-data-recursive -@@ -599,3 +599,3 @@ - uninstall-am: uninstall-binSCRIPTS uninstall-confexecDATA \ -- uninstall-m4dataDATA uninstall-pkgconfigDATA -+ uninstall-m4dataDATA - uninstall: uninstall-recursive -@@ -608,3 +608,3 @@ - $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(confexecdir) \ -- $(DESTDIR)$(m4datadir) $(DESTDIR)$(pkgconfigdir) -+ $(DESTDIR)$(m4datadir) +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = libglade.pc $(libglade_gnome_pc) $(libglade_bonobo_pc) \ diff --git a/devel/libglade/pkg-plist b/devel/libglade/pkg-plist index e13fdefbe04b..cdc9d22e003a 100644 --- a/devel/libglade/pkg-plist +++ b/devel/libglade/pkg-plist @@ -14,5 +14,8 @@ lib/libglade-bonobo.so.4 lib/libglade-gnome.a lib/libglade-gnome.so lib/libglade-gnome.so.4 +libdata/pkgconfig/libglade.pc +libdata/pkgconfig/libglade-bonobo.pc +libdata/pkgconfig/libglade-gnome.pc share/aclocal/libglade.m4 @dirrm include/glade -- cgit