summaryrefslogtreecommitdiff
path: root/textproc/pugixml
diff options
context:
space:
mode:
authorwiz <wiz>2016-04-29 11:54:54 +0000
committerwiz <wiz>2016-04-29 11:54:54 +0000
commit4288c62a087be5f3b7382dc2a3b58f4c6d2d27f6 (patch)
tree2e9c7a2350c1d208eedb904c724883b7e6ab5e44 /textproc/pugixml
parent4e521a4f78e434ed88fc136a9819cb77891c72ed (diff)
downloadpkgsrc-4288c62a087be5f3b7382dc2a3b58f4c6d2d27f6.tar.gz
Import pugixml-1.7 as textproc/pugixml.
pugixml is a light-weight C++ XML processing library. It features: * DOM-like interface with rich traversal/modification capabilities * Extremely fast non-validating XML parser which constructs the DOM tree from an XML file/buffer * XPath 1.0 implementation for complex data-driven tree queries * Full Unicode support with Unicode interface variants and automatic encoding conversions The library is extremely portable and easy to integrate and use.
Diffstat (limited to 'textproc/pugixml')
-rw-r--r--textproc/pugixml/DESCR10
-rw-r--r--textproc/pugixml/Makefile18
-rw-r--r--textproc/pugixml/PLIST6
-rw-r--r--textproc/pugixml/buildlink3.mk14
-rw-r--r--textproc/pugixml/distinfo6
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/pugixml/DESCR b/textproc/pugixml/DESCR
new file mode 100644
index 00000000000..194fde7b191
--- /dev/null
+++ b/textproc/pugixml/DESCR
@@ -0,0 +1,10 @@
+pugixml is a light-weight C++ XML processing library. It features:
+
+* DOM-like interface with rich traversal/modification capabilities
+* Extremely fast non-validating XML parser which constructs the DOM
+ tree from an XML file/buffer
+* XPath 1.0 implementation for complex data-driven tree queries
+* Full Unicode support with Unicode interface variants and automatic
+ encoding conversions
+
+The library is extremely portable and easy to integrate and use.
diff --git a/textproc/pugixml/Makefile b/textproc/pugixml/Makefile
new file mode 100644
index 00000000000..4e9044957c2
--- /dev/null
+++ b/textproc/pugixml/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/04/29 11:54:54 wiz Exp $
+
+DISTNAME= pugixml-1.7
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=zeux/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pugixml.org/
+COMMENT= Light-weight C++ XML processing library
+LICENSE= mit
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+USE_CMAKE= yes
+CMAKE_ARG_PATH= scripts
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/pugixml/PLIST b/textproc/pugixml/PLIST
new file mode 100644
index 00000000000..a26886ad6c7
--- /dev/null
+++ b/textproc/pugixml/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2016/04/29 11:54:54 wiz Exp $
+include/pugiconfig.hpp
+include/pugixml.hpp
+lib/cmake/pugixml/pugixml-config-noconfig.cmake
+lib/cmake/pugixml/pugixml-config.cmake
+lib/libpugixml.a
diff --git a/textproc/pugixml/buildlink3.mk b/textproc/pugixml/buildlink3.mk
new file mode 100644
index 00000000000..6f9145001c7
--- /dev/null
+++ b/textproc/pugixml/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/04/29 11:54:54 wiz Exp $
+
+BUILDLINK_TREE+= pugixml
+
+.if !defined(PUGIXML_BUILDLINK3_MK)
+PUGIXML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.pugixml+= pugixml>=1.7
+BUILDLINK_PKGSRCDIR.pugixml?= ../../textproc/pugixml
+
+BUILDLINK_DEPMETHOD.pugixml?= build
+.endif # PUGIXML_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -pugixml
diff --git a/textproc/pugixml/distinfo b/textproc/pugixml/distinfo
new file mode 100644
index 00000000000..eb99239937d
--- /dev/null
+++ b/textproc/pugixml/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/04/29 11:54:54 wiz Exp $
+
+SHA1 (pugixml-1.7.tar.gz) = 9c5de9759c5ca61bdc6575ac30fa5a2cbce0b63d
+RMD160 (pugixml-1.7.tar.gz) = 27186cb9656a2051eab9181893bd9de4c35455cb
+SHA512 (pugixml-1.7.tar.gz) = 27c06a32c336d81c1d8568d209314ba8876ce8e7a18cdaf18dc666e25eb35aa7b58b0c812862245c21e8a60c7dba671dbc4c60c79f8dfb65f9714ecc7b3e1ca1
+Size (pugixml-1.7.tar.gz) = 522704 bytes