summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/wbxml2/DESCR4
-rw-r--r--textproc/wbxml2/Makefile30
-rw-r--r--textproc/wbxml2/PLIST24
-rw-r--r--textproc/wbxml2/buildlink3.mk21
-rw-r--r--textproc/wbxml2/distinfo6
-rw-r--r--textproc/wbxml2/patches/patch-aa15
6 files changed, 100 insertions, 0 deletions
diff --git a/textproc/wbxml2/DESCR b/textproc/wbxml2/DESCR
new file mode 100644
index 00000000000..45235517771
--- /dev/null
+++ b/textproc/wbxml2/DESCR
@@ -0,0 +1,4 @@
+The WBXML Library (libwbxml) contains a library and its associated
+tools to parse, encode and handle WBXML documents. The WBXML format
+is a binary representation of XML, defined by the Wap Forum, and
+used to reduce bandwidth in mobile communications.
diff --git a/textproc/wbxml2/Makefile b/textproc/wbxml2/Makefile
new file mode 100644
index 00000000000..0e057019e55
--- /dev/null
+++ b/textproc/wbxml2/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/01/12 14:05:17 dillo Exp $
+#
+
+DISTNAME= wbxml2-0.9.2
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wbxmllib/}
+
+MAINTAINER= dillo@NetBSD.org
+HOMEPAGE= http://wbxmllib.sourceforge.net/
+COMMENT= Library to handle WAP binary XML files
+
+USE_TOOLS+= pkg-config
+USE_TOOLS+= aclocal autoheader automake autoconf
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= libwbxml2.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && \
+ ${PREFIX}/bin/libtoolize && \
+ aclocal && \
+ autoheader && \
+ automake --add-missing && \
+ autoconf
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/wbxml2/PLIST b/textproc/wbxml2/PLIST
new file mode 100644
index 00000000000..b328a7fd9d8
--- /dev/null
+++ b/textproc/wbxml2/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/12 14:05:17 dillo Exp $
+bin/wbxml2xml
+bin/xml2wbxml
+include/wbxml.h
+include/wbxml_base64.h
+include/wbxml_buffers.h
+include/wbxml_charset.h
+include/wbxml_conv.h
+include/wbxml_elt.h
+include/wbxml_encoder.h
+include/wbxml_errors.h
+include/wbxml_handlers.h
+include/wbxml_lists.h
+include/wbxml_log.h
+include/wbxml_mem.h
+include/wbxml_parser.h
+include/wbxml_tables.h
+include/wbxml_tree.h
+include/wbxml_tree_clb_wbxml.h
+include/wbxml_tree_clb_xml.h
+lib/libwbxml2.la
+lib/pkgconfig/libwbxml2.pc
+share/doc/wbxml2-0.9.0/GNU-LGPL
+@dirrm share/doc/wbxml2-0.9.0
diff --git a/textproc/wbxml2/buildlink3.mk b/textproc/wbxml2/buildlink3.mk
new file mode 100644
index 00000000000..eff6449c9af
--- /dev/null
+++ b/textproc/wbxml2/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/01/12 14:05:17 dillo Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+WBXML2_BUILDLINK3_MK:= ${WBXML2_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= wbxml2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwbxml2}
+BUILDLINK_PACKAGES+= wbxml2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wbxml2
+
+.if ${WBXML2_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.wbxml2+= wbxml2>=0.9.2
+BUILDLINK_PKGSRCDIR.wbxml2?= ../../textproc/wbxml2
+.endif # WBXML2_BUILDLINK3_MK
+
+.include "../../textproc/expat/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/textproc/wbxml2/distinfo b/textproc/wbxml2/distinfo
new file mode 100644
index 00000000000..380aae631f5
--- /dev/null
+++ b/textproc/wbxml2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/01/12 14:05:17 dillo Exp $
+
+SHA1 (wbxml2-0.9.2.tar.gz) = ee02ec4a1e6cd0312d0b2a02c85c603e4c98ba14
+RMD160 (wbxml2-0.9.2.tar.gz) = 00e4f88d74be96a1a42dddc80c6edab94a6a8870
+Size (wbxml2-0.9.2.tar.gz) = 304115 bytes
+SHA1 (patch-aa) = f508c228ecb0778121a07bad6069c0966188f8fc
diff --git a/textproc/wbxml2/patches/patch-aa b/textproc/wbxml2/patches/patch-aa
new file mode 100644
index 00000000000..5f1b0ba7050
--- /dev/null
+++ b/textproc/wbxml2/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/01/12 14:05:17 dillo Exp $
+
+--- Makefile.am.orig 2006-07-11 13:47:43.000000000 +0200
++++ Makefile.am
+@@ -24,10 +24,6 @@ wbxmldoc_DATA = \
+ TODO\
+ doxygen.h
+
+-install-data-local:
+- $(mkinstalldirs) $(DESTDIR)$(wbxmldocdir)/manual
+- cp -Rp doc/* $(DESTDIR)$(wbxmldocdir)/manual
+-
+ dist-bz2: distdir
+ sed -e "s/tar.gz/tar.bz2/g" $(distdir)/wbxml2.spec > $(distdir)/wbxml2.spec.aux
+ mv $(distdir)/wbxml2.spec.aux $(distdir)/wbxml2.spec