summaryrefslogtreecommitdiffstats
path: root/textproc/libxml2
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile74
-rw-r--r--textproc/libxml2/distinfo3
-rw-r--r--textproc/libxml2/files/patch-aa49
-rw-r--r--textproc/libxml2/files/patch-config.h.in11
-rw-r--r--textproc/libxml2/files/patch-configure25
-rw-r--r--textproc/libxml2/files/patch-doc_devhelp_Makefile.in11
-rw-r--r--textproc/libxml2/files/patch-python::Makefile.in20
-rw-r--r--textproc/libxml2/files/patch-python::tests::Makefile.in11
-rw-r--r--textproc/libxml2/files/patch-threads.c22
-rw-r--r--textproc/libxml2/files/patch-xml2Conf.sh.in18
-rw-r--r--textproc/libxml2/pkg-descr6
-rw-r--r--textproc/libxml2/pkg-plist59
12 files changed, 0 insertions, 309 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
deleted file mode 100644
index ead0af74a..000000000
--- a/textproc/libxml2/Makefile
+++ /dev/null
@@ -1,74 +0,0 @@
-# New ports collection makefile for: libxml2
-# Date created: 28 September 1998
-# Whom: Yukihiro Nakai <Nakai@technologist.com>
-#
-# $FreeBSD$
-#
-# WITHOUT_SCHEMA disable XML schema support
-# WITH_MEM_DEBUG enable memory debugging (DEVELOPERS ONLY!)
-# WITH_XMLLINT_HIST enable history for xmllint
-# WITH_THREAD_ALLOC enable per-thread memory (DEVELOPERS ONLY!)
-#
-
-PORTNAME= libxml2
-PORTVERSION= 2.7.7
-PORTREVISION?= 0
-CATEGORIES?= textproc gnome
-MASTER_SITES= ftp://fr.rpmfind.net/pub/libxml/ \
- ftp://gd.tuwien.ac.at/pub/libxml/ \
- ftp://xmlsoft.org/libxml2/
-DIST_SUBDIR= gnome2
-
-MAINTAINER?= gnome@FreeBSD.org
-COMMENT?= XML parser library for GNOME
-
-.if !defined(REFERENCE_PORT)
-
-USE_GMAKE= yes
-MAKE_JOBS_SAFE= yes
-USE_ICONV= yes
-GNU_CONFIGURE= yes
-USE_GNOME?= gnomehack gnometarget pkgconfig
-USE_LDCONFIG= yes
-CONFIGURE_ARGS?=--with-iconv=${LOCALBASE} \
- --with-html-dir=${PREFIX}/share/doc \
- --with-html-subdir=${PORTNAME} \
- --without-python
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-.if !defined(MASTERDIR)
-MAN1= xml2-config.1 xmllint.1 xmlcatalog.1
-MAN3= libxml.3
-.endif
-
-.if defined(WITHOUT_SCHEMA)
-CONFIGURE_ARGS+= --without-schemas
-.endif
-
-.if defined(WITH_MEM_DEBUG)
-CONFIGURE_ARGS+= --with-mem-debug
-.endif
-
-.if defined(WITH_XMLLINT_HIST)
-CONFIGURE_ARGS+= --with-history
-.endif
-
-.if defined(WITH_THREAD_ALLOC)
-CONFIGURE_ARGS+= --with-thread-alloc
-.endif
-
-post-patch:
-.for d in . doc doc/devhelp doc/examples
- @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
- ${WRKSRC}/${d}/Makefile.in
-.endfor
-.for f in catalog.c xmlcatalog.c xmllint.c doc/xmllint.1
- @${REINPLACE_CMD} -e \
- 's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \
- s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' ${WRKSRC}/${f}
-.endfor
-
-.include <bsd.port.mk>
-
-.endif
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo
deleted file mode 100644
index 48c948da1..000000000
--- a/textproc/libxml2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (gnome2/libxml2-2.7.7.tar.gz) = 9abc9959823ca9ff904f1fbcf21df066
-SHA256 (gnome2/libxml2-2.7.7.tar.gz) = af5b781418ba4fff556fa43c50086658ea8a2f31909c2b625c2ce913a1d9eb68
-SIZE (gnome2/libxml2-2.7.7.tar.gz) = 4868502
diff --git a/textproc/libxml2/files/patch-aa b/textproc/libxml2/files/patch-aa
deleted file mode 100644
index 91bee0a42..000000000
--- a/textproc/libxml2/files/patch-aa
+++ /dev/null
@@ -1,49 +0,0 @@
---- Makefile.in.orig 2010-03-20 17:51:45.000000000 -0400
-+++ Makefile.in 2010-03-20 17:52:13.000000000 -0400
-@@ -562,7 +562,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- ACLOCAL_AMFLAGS = -I m4
--SUBDIRS = include . doc example xstc @PYTHON_SUBDIR@
-+SUBDIRS = include . doc example xstc @WITH_PYTHON_TRUE@ @PYTHON_SUBDIR@
- DIST_SUBDIRS = include . doc example python xstc
- INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
- bin_SCRIPTS = xml2-config
-@@ -572,7 +572,7 @@ libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIB
- @USE_VERSION_SCRIPT_TRUE@LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
- libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ \
- $(LIBXML2_VERSION_SCRIPT) \
-- -version-info @LIBXML_VERSION_INFO@ \
-+ -version-info 5:0:0 \
- @MODULE_PLATFORM_LIBS@
-
- @WITH_TRIO_SOURCES_FALSE@libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
-@@ -688,7 +688,7 @@ runxmlconf_LDFLAGS =
- runxmlconf_DEPENDENCIES = $(DEPS)
- runxmlconf_LDADD = $(LDADDS)
- CLEANFILES = xml2Conf.sh *.gcda *.gcno
--confexecdir = $(libdir)
-+confexecdir = $(sysconfdir)
- confexec_DATA = xml2Conf.sh
- CVS_EXTRA_DIST =
- EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
-@@ -711,8 +711,8 @@ pkgconfig_DATA = libxml-2.0.pc
- # Install the tests program sources as examples
- #
- BASE_DIR = $(datadir)/doc
--DOC_MODULE = libxml2-$(VERSION)
--EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
-+DOC_MODULE = libxml2
-+EXAMPLES_DIR = $(datadir)/examples/libxml2
-
- #
- # Coverage support, largely borrowed from libvirt
-@@ -1546,7 +1546,7 @@ distcleancheck: distclean
- exit 1; } >&2
- check-am: all-am
- check: check-recursive
--all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
-+all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(DATA) \
- config.h
- install-binPROGRAMS: install-libLTLIBRARIES
-
diff --git a/textproc/libxml2/files/patch-config.h.in b/textproc/libxml2/files/patch-config.h.in
deleted file mode 100644
index e86bbf40e..000000000
--- a/textproc/libxml2/files/patch-config.h.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- config.h.in.orig Sun Nov 3 16:55:05 2002
-+++ config.h.in Tue Nov 19 00:06:05 2002
-@@ -1,4 +1,8 @@
- /* config.h.in. Generated from configure.in by autoheader. */
-+
-+/* XXX */
-+#define HAVE_VFSCANF
-+
- #undef PACKAGE
- #undef VERSION
- #undef HAVE_LIBZ
diff --git a/textproc/libxml2/files/patch-configure b/textproc/libxml2/files/patch-configure
deleted file mode 100644
index 3c7222051..000000000
--- a/textproc/libxml2/files/patch-configure
+++ /dev/null
@@ -1,25 +0,0 @@
---- configure.orig 2010-03-20 17:52:35.000000000 -0400
-+++ configure 2010-03-20 17:52:35.000000000 -0400
-@@ -19865,11 +19865,12 @@ fi
- fi
- if test "$PYTHON_VERSION" != ""
- then
-+ with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
- if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
- -d $with_python/lib/python$PYTHON_VERSION/site-packages
- then
- PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
-- PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
-+ PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages
- else
- if test -r $prefix/include/python$PYTHON_VERSION/Python.h
- then
-@@ -20678,6 +20679,8 @@ fi
- fi
- fi
- ;;
-+ *freebsd*) THREAD_LIBS=""
-+ ;;
- esac
- if test "$WITH_THREADS" = "1" ; then
- THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
diff --git a/textproc/libxml2/files/patch-doc_devhelp_Makefile.in b/textproc/libxml2/files/patch-doc_devhelp_Makefile.in
deleted file mode 100644
index d7581357d..000000000
--- a/textproc/libxml2/files/patch-doc_devhelp_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/devhelp/Makefile.in.orig 2008-01-22 15:49:34.000000000 -0500
-+++ doc/devhelp/Makefile.in 2008-01-22 15:49:58.000000000 -0500
-@@ -259,7 +259,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--DEVHELP_DIR = $(datadir)/gtk-doc/html/libxml2
-+DEVHELP_DIR = $(datadir)/doc/libxml2/html
- HTML_FILES = index.html general.html $(HTML_MODULES)
- HTML_MODULES = \
- libxml2-c14n.html \
diff --git a/textproc/libxml2/files/patch-python::Makefile.in b/textproc/libxml2/files/patch-python::Makefile.in
deleted file mode 100644
index 37a01dce1..000000000
--- a/textproc/libxml2/files/patch-python::Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- python/Makefile.in.orig 2008-05-23 22:39:11.000000000 -0500
-+++ python/Makefile.in 2008-05-23 22:40:42.000000000 -0500
-@@ -322,7 +322,7 @@
- -I$(top_builddir)/include \
- -I$(top_builddir)/$(subdir)
-
--docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
-+docsdir = $(datadir)/doc/py-libxml2
- # libxml2class.txt is generated
- dist_docs_DATA = TODO
- EXTRA_DIST = \
-@@ -335,7 +335,7 @@
-
- libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version
- @WITH_PYTHON_TRUE@mylibs = \
--@WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la
-+@WITH_PYTHON_TRUE@ -lxml2
-
- @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
- @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c types.c
diff --git a/textproc/libxml2/files/patch-python::tests::Makefile.in b/textproc/libxml2/files/patch-python::tests::Makefile.in
deleted file mode 100644
index 405539d86..000000000
--- a/textproc/libxml2/files/patch-python::tests::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- python/tests/Makefile.in.orig 2008-05-23 22:41:49.000000000 -0500
-+++ python/tests/Makefile.in 2008-05-23 22:42:12.000000000 -0500
-@@ -270,7 +270,7 @@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--exampledir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
-+exampledir = $(datadir)/examples/py-libxml2
- dist_example_DATA = $(PYTESTS) $(XMLS)
- PYTESTS = \
- build.py \
diff --git a/textproc/libxml2/files/patch-threads.c b/textproc/libxml2/files/patch-threads.c
deleted file mode 100644
index a1ab0b3f2..000000000
--- a/textproc/libxml2/files/patch-threads.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- threads.c.orig 2009-11-30 12:43:34.000000000 +0100
-+++ threads.c 2009-11-30 12:44:54.000000000 +0100
-@@ -26,6 +26,7 @@
- #endif
- #ifdef HAVE_PTHREAD_H
- #include <pthread.h>
-+#include <osreldate.h>
- #elif defined HAVE_WIN32_THREADS
- #include <windows.h>
- #ifndef HAVE_COMPILER_TLS
-@@ -46,6 +47,11 @@
-
- #ifdef HAVE_PTHREAD_H
-
-+#if __FreeBSD_version < 700000
-+int pthread_equal() __attribute__ ((weak));
-+#define pthread_equal(a,b) ((pthread_equal) ? pthread_equal(a,b) : 1)
-+#endif
-+
- static int libxml_is_threaded = -1;
- #ifdef __GNUC__
- #ifdef linux
diff --git a/textproc/libxml2/files/patch-xml2Conf.sh.in b/textproc/libxml2/files/patch-xml2Conf.sh.in
deleted file mode 100644
index e07940d12..000000000
--- a/textproc/libxml2/files/patch-xml2Conf.sh.in
+++ /dev/null
@@ -1,18 +0,0 @@
-
-$FreeBSD$
-
---- xml2Conf.sh.in 2001/05/19 19:57:43 1.1
-+++ xml2Conf.sh.in 2001/05/19 19:59:40
-@@ -1,6 +1,12 @@
- #
- # Configuration file for using the XML library in GNOME applications
- #
-+
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+includedir=@includedir@
-+libdir=@libdir@
-+
- XML2_LIBDIR="@XML_LIBDIR@"
- XML2_LIBS="@XML_LIBS@"
- XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
diff --git a/textproc/libxml2/pkg-descr b/textproc/libxml2/pkg-descr
deleted file mode 100644
index c64953cf9..000000000
--- a/textproc/libxml2/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Libxml2 is the XML C parser and toolkit developed for the Gnome project (but
-usable outside of the Gnome platform). XML itself is a metalanguage to design
-markup languages, i.e. text language where semantic and structure are added to
-the content using extra "markup" information enclosed between angle brackets.
-
-WWW: http://xmlsoft.org/
diff --git a/textproc/libxml2/pkg-plist b/textproc/libxml2/pkg-plist
deleted file mode 100644
index c1e7fae18..000000000
--- a/textproc/libxml2/pkg-plist
+++ /dev/null
@@ -1,59 +0,0 @@
-bin/xml2-config
-bin/xmlcatalog
-bin/xmllint
-etc/xml2Conf.sh
-include/libxml2/libxml/DOCBparser.h
-include/libxml2/libxml/HTMLparser.h
-include/libxml2/libxml/HTMLtree.h
-include/libxml2/libxml/SAX.h
-include/libxml2/libxml/SAX2.h
-include/libxml2/libxml/c14n.h
-include/libxml2/libxml/catalog.h
-include/libxml2/libxml/chvalid.h
-include/libxml2/libxml/debugXML.h
-include/libxml2/libxml/dict.h
-include/libxml2/libxml/encoding.h
-include/libxml2/libxml/entities.h
-include/libxml2/libxml/globals.h
-include/libxml2/libxml/hash.h
-include/libxml2/libxml/list.h
-include/libxml2/libxml/nanoftp.h
-include/libxml2/libxml/nanohttp.h
-include/libxml2/libxml/parser.h
-include/libxml2/libxml/parserInternals.h
-include/libxml2/libxml/pattern.h
-include/libxml2/libxml/relaxng.h
-include/libxml2/libxml/schemasInternals.h
-include/libxml2/libxml/schematron.h
-include/libxml2/libxml/threads.h
-include/libxml2/libxml/tree.h
-include/libxml2/libxml/uri.h
-include/libxml2/libxml/valid.h
-include/libxml2/libxml/xinclude.h
-include/libxml2/libxml/xlink.h
-include/libxml2/libxml/xmlIO.h
-include/libxml2/libxml/xmlautomata.h
-include/libxml2/libxml/xmlerror.h
-include/libxml2/libxml/xmlexports.h
-include/libxml2/libxml/xmlmemory.h
-include/libxml2/libxml/xmlmodule.h
-include/libxml2/libxml/xmlreader.h
-include/libxml2/libxml/xmlregexp.h
-include/libxml2/libxml/xmlsave.h
-include/libxml2/libxml/xmlschemas.h
-include/libxml2/libxml/xmlschemastypes.h
-include/libxml2/libxml/xmlstring.h
-include/libxml2/libxml/xmlunicode.h
-include/libxml2/libxml/xmlversion.h
-include/libxml2/libxml/xmlwriter.h
-include/libxml2/libxml/xpath.h
-include/libxml2/libxml/xpathInternals.h
-include/libxml2/libxml/xpointer.h
-lib/libxml2.a
-lib/libxml2.la
-lib/libxml2.so
-lib/libxml2.so.5
-libdata/pkgconfig/libxml-2.0.pc
-share/aclocal/libxml.m4
-@dirrm include/libxml2/libxml
-@dirrm include/libxml2