summaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2001-05-23 00:49:11 +0000
committerAde Lovett <ade@FreeBSD.org>2001-05-23 00:49:11 +0000
commitff4f18ab924209c55d3bb210a8fe04b9b350a447 (patch)
tree5ae62eebdd7b7debbc02193a74df18de0366c6a1 /textproc/libxml
parentAdd the gtk+ distfile for extraction purposes, rather than depending on (diff)
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.
Notes
Notes: svn path=/head/; revision=42950
Diffstat (limited to 'textproc/libxml')
-rw-r--r--textproc/libxml/Makefile4
-rw-r--r--textproc/libxml/files/patch-aa35
-rw-r--r--textproc/libxml/pkg-plist1
3 files changed, 17 insertions, 23 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index dbeadb5047c6..a43bd49c08af 100644
--- a/textproc/libxml/Makefile
+++ b/textproc/libxml/Makefile
@@ -7,12 +7,16 @@
PORTNAME= libxml
PORTVERSION= 1.8.13
+PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/libxml
MAINTAINER= gnome@FreeBSD.org
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
diff --git a/textproc/libxml/files/patch-aa b/textproc/libxml/files/patch-aa
index 633394cc45f8..61a65f38b9a3 100644
--- a/textproc/libxml/files/patch-aa
+++ b/textproc/libxml/files/patch-aa
@@ -1,33 +1,22 @@
---- Makefile.in.orig Fri May 4 02:42:20 2001
-+++ Makefile.in Fri May 4 11:39:59 2001
+--- Makefile.in.orig Mon May 14 05:39:15 2001
++++ Makefile.in Mon May 21 22:15:39 2001
+@@ -37,3 +37,3 @@
+ pkgdatadir = $(datadir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
++pkglibdir = $(prefix)/libdata/pkgconfig
+ pkgincludedir = $(includedir)/@PACKAGE@
@@ -108,3 +108,3 @@
-libxml_la_LDFLAGS = -version-info @LIBXML_VERSION_INFO@ @Z_LIBS@
+libxml_la_LDFLAGS = -version-info 5:0:0 @Z_LIBS@
-
+
@@ -140,3 +140,3 @@
-confexecdir = $(libdir)
+confexecdir = $(sysconfdir)
confexec_DATA = xmlConf.sh
-@@ -176,3 +176,3 @@
- LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
--DATA = $(confexec_DATA) $(pkgconfig_DATA)
-+DATA = $(confexec_DATA)
-
-@@ -623,4 +623,3 @@
+@@ -147,3 +147,3 @@
--install-data-am: install-pkgconfigDATA install-xmlincHEADERS \
-- install-data-local
-+install-data-am: install-xmlincHEADERS install-data-local
- install-data: install-data-recursive
-@@ -634,3 +633,3 @@
- uninstall: uninstall-recursive
--all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
-+all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) \
- $(HEADERS) config.h
-@@ -642,3 +641,3 @@
- $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
-- $(DESTDIR)$(confexecdir) $(DESTDIR)$(pkgconfigdir) \
-+ $(DESTDIR)$(confexecdir) \
- $(DESTDIR)$(xmlincdir)
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(pkglibdir)
+ pkgconfig_DATA = libxml.pc
diff --git a/textproc/libxml/pkg-plist b/textproc/libxml/pkg-plist
index 40bc8cf3e8da..b24dc039cc95 100644
--- a/textproc/libxml/pkg-plist
+++ b/textproc/libxml/pkg-plist
@@ -21,6 +21,7 @@ include/gnome-xml/xpath.h
lib/libxml.a
lib/libxml.so
lib/libxml.so.5
+libdata/pkgconfig/libxml.pc
share/gnome-xml/html/gnome-xml/DOM.gif
share/gnome-xml/html/gnome-xml/book1.html
share/gnome-xml/html/gnome-xml/gnome-xml-debugxml.html