aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-05-05 23:03:02 +0800
committerbeech <beech@FreeBSD.org>2008-05-05 23:03:02 +0800
commit5edb9275c4663ef324dd45ed5b77e39c0c35d87c (patch)
tree94e4ee1da8ed4d7a0fefe749f546f2e338c85145 /devel
parentf47390441201adb3495a0e6d67288cd8e50f1e1a (diff)
downloadfreebsd-ports-gnome-5edb9275c4663ef324dd45ed5b77e39c0c35d87c.tar.gz
freebsd-ports-gnome-5edb9275c4663ef324dd45ed5b77e39c0c35d87c.tar.zst
freebsd-ports-gnome-5edb9275c4663ef324dd45ed5b77e39c0c35d87c.zip
tclxml-libxml2
TclXML is an API for parsing XML documents using the Tcl scripting language. It is also a package with several parser implementations. The goal of the TclXML package is to provide an API for Tcl scripts that allows "Plug-and-Play" parser implementations; ie. an application will be able to use different parser implementations without change to the application code. PR: ports/123163 Submitted by: Frank Fenor
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/tclxml-libxml2/Makefile21
-rw-r--r--devel/tclxml-libxml2/files/patch-libxml2-configure11
-rw-r--r--devel/tclxml-libxml2/pkg-descr9
-rw-r--r--devel/tclxml-libxml2/pkg-plist7
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1bd22ca905c3..9f9dc54936c6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2378,6 +2378,7 @@
SUBDIR += tcltls
SUBDIR += tclxml
SUBDIR += tclxml-expat
+ SUBDIR += tclxml-libxml2
SUBDIR += tdl
SUBDIR += templ
SUBDIR += terminality
diff --git a/devel/tclxml-libxml2/Makefile b/devel/tclxml-libxml2/Makefile
new file mode 100644
index 000000000000..378164fb4923
--- /dev/null
+++ b/devel/tclxml-libxml2/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: tclxml-libxml2
+# Date created: 28 April 2008
+# Whom: Frank Fenor
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -libxml2
+
+MAINTAINER= frank@fenor.de
+
+LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
+BUILD_DEPENDS= ${LOCALBASE}/lib/TclxmlConfig.sh:${PORTSDIR}/devel/tclxml
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/libxml2
+USE_LDCONFIG= ${LOCALBASE}/lib/TclXML_libxml2${PORTVERSION}
+LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
+
+MASTERDIR= ${.CURDIR}/../tclxml
+
+.include "${MASTERDIR}/Makefile" \ No newline at end of file
diff --git a/devel/tclxml-libxml2/files/patch-libxml2-configure b/devel/tclxml-libxml2/files/patch-libxml2-configure
new file mode 100644
index 000000000000..665a80866b09
--- /dev/null
+++ b/devel/tclxml-libxml2/files/patch-libxml2-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2008-04-28 16:02:30.000000000 +0200
++++ configure 2008-04-28 16:02:51.000000000 +0200
+@@ -3316,7 +3316,7 @@
+
+ TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\"
+
+-
++ TCL_SRC_DIR=${with_tclinclude}
+
+
+ echo $ac_n "checking for Tcl private include files""... $ac_c" 1>&6 \ No newline at end of file
diff --git a/devel/tclxml-libxml2/pkg-descr b/devel/tclxml-libxml2/pkg-descr
new file mode 100644
index 000000000000..b6812a6ae74d
--- /dev/null
+++ b/devel/tclxml-libxml2/pkg-descr
@@ -0,0 +1,9 @@
+tclxml-libxml2
+TclXML is an API for parsing XML documents using the Tcl scripting
+language. It is also a package with several parser implementations.
+The goal of the TclXML package is to provide an API for Tcl scripts
+that allows "Plug-and-Play" parser implementations; ie. an application
+will be able to use different parser implementations without change
+to the application code.
+
+WWW: http://tclxml.sourceforge.net/
diff --git a/devel/tclxml-libxml2/pkg-plist b/devel/tclxml-libxml2/pkg-plist
new file mode 100644
index 000000000000..515a976c81b8
--- /dev/null
+++ b/devel/tclxml-libxml2/pkg-plist
@@ -0,0 +1,7 @@
+include/tclxml-libxml2/docObj.h
+include/tclxml-libxml2/tclxml-libxml2.h
+include/tclxml-libxml2/tclxml-libxml2Decls.h
+lib/TclXML_libxml2%%VER%%/libTclXML_libxml2%%VER%%.so
+lib/TclXML_libxml2%%VER%%/pkgIndex.tcl
+@dirrm lib/TclXML_libxml2%%VER%%
+@dirrm include/tclxml-libxml2 \ No newline at end of file