summaryrefslogtreecommitdiff
path: root/textproc/libnxml
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-05-30 00:16:10 +0000
committerobache <obache@pkgsrc.org>2009-05-30 00:16:10 +0000
commit1eef4a33dc8f6d1a134839d4918b6f81af222a54 (patch)
tree84b46715a26fd12efec78bd9f3e383e854964ee6 /textproc/libnxml
parente0428760aa903e17d79b4e63a640dc16568c16d0 (diff)
downloadpkgsrc-1eef4a33dc8f6d1a134839d4918b6f81af222a54.tar.gz
Import libnxml-0.18.3 as textproc/libnxml from pkgsrc-wip.
Packaged by Kamel Derouiche. nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams. It supports utf-8, utf-16be and utf-16le, ucs-4 (1234, 4321, 2143, 2312).
Diffstat (limited to 'textproc/libnxml')
-rw-r--r--textproc/libnxml/DESCR3
-rw-r--r--textproc/libnxml/Makefile23
-rw-r--r--textproc/libnxml/PLIST4
-rw-r--r--textproc/libnxml/buildlink3.mk15
-rw-r--r--textproc/libnxml/distinfo5
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/libnxml/DESCR b/textproc/libnxml/DESCR
new file mode 100644
index 00000000000..8af20e47ec5
--- /dev/null
+++ b/textproc/libnxml/DESCR
@@ -0,0 +1,3 @@
+nXML is a C library for parsing, writing and creating XML 1.0 and
+1.1 files or streams. It supports utf-8, utf-16be and utf-16le,
+ucs-4 (1234, 4321, 2143, 2312).
diff --git a/textproc/libnxml/Makefile b/textproc/libnxml/Makefile
new file mode 100644
index 00000000000..a6dbe2f7951
--- /dev/null
+++ b/textproc/libnxml/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/30 00:16:10 obache Exp $
+#
+
+DISTNAME= libnxml-0.18.3
+CATEGORIES= textproc
+MASTER_SITES= http://www.autistici.org/bakunin/libnxml/
+
+MAINTAINER= kamel.derouiche@gmail.com
+HOMEPAGE= http://www.autistici.org/bakunin/libnxml/doc/
+COMMENT= C library for parsing, writing and creating XML files or streams
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= nxml.pc.in
+
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/libnxml/PLIST b/textproc/libnxml/PLIST
new file mode 100644
index 00000000000..b37a9fbf19e
--- /dev/null
+++ b/textproc/libnxml/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/30 00:16:10 obache Exp $
+include/nxml.h
+lib/libnxml.la
+lib/pkgconfig/nxml.pc
diff --git a/textproc/libnxml/buildlink3.mk b/textproc/libnxml/buildlink3.mk
new file mode 100644
index 00000000000..3cbcc1d86b1
--- /dev/null
+++ b/textproc/libnxml/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/05/30 00:16:10 obache Exp $
+
+BUILDLINK_TREE+= libnxml
+
+.if !defined(LIBNXML_BUILDLINK3_MK)
+LIBNXML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libnxml+= libnxml>=0.18.3
+BUILDLINK_PKGSRCDIR.libnxml?= ../../textproc/libnxml
+
+
+.include "../../www/curl/buildlink3.mk"
+.endif # LIBNXML_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libnxml
diff --git a/textproc/libnxml/distinfo b/textproc/libnxml/distinfo
new file mode 100644
index 00000000000..811a42fe2dc
--- /dev/null
+++ b/textproc/libnxml/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/30 00:16:10 obache Exp $
+
+SHA1 (libnxml-0.18.3.tar.gz) = 2bcb17ea01aa953d0f8cbc116e025bb837bec4aa
+RMD160 (libnxml-0.18.3.tar.gz) = e7ad57cbe2859a779580a3dd8f29eaecdb2e6af7
+Size (libnxml-0.18.3.tar.gz) = 361977 bytes