summaryrefslogtreecommitdiff
path: root/textproc/tinyxml/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2014-02-16 23:05:33 +0000
committerwiz <wiz>2014-02-16 23:05:33 +0000
commit488bf12cdc4c7c4ec83916992d7dc5f578fd02db (patch)
tree3aca7121331655a2ff24e6b03e9cd9c5a38d0469 /textproc/tinyxml/Makefile
parentc1ce9efb58d3ca7b4a4465042483ad54d7ab3b99 (diff)
downloadpkgsrc-488bf12cdc4c7c4ec83916992d7dc5f578fd02db.tar.gz
Import tinyxml-2.6.2 as textproc/tinyxml, packaged for wip by
anthony_mallet. TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved. TinyXML uses a Document Object Model (DOM), meaning the XML data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk or another output stream. You can also construct an XML document from scratch with C++ objects and write this to disk or another output stream. TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) There are other parsers out there (check out www.sourceforge.org, search for XML) that are much more fully featured. But they are also much bigger, take longer to set up in your project, have a higher learning curve, and often have a more restrictive license. If you are working with browsers or have more complete XML needs, TinyXML is not the parser for you.
Diffstat (limited to 'textproc/tinyxml/Makefile')
-rw-r--r--textproc/tinyxml/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/textproc/tinyxml/Makefile b/textproc/tinyxml/Makefile
new file mode 100644
index 00000000000..bf8d5ba734d
--- /dev/null
+++ b/textproc/tinyxml/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2014/02/16 23:05:33 wiz Exp $
+
+PKGVERSION= 2.6.2
+DISTNAME= tinyxml_${PKGVERSION:S/./_/g}
+PKGNAME= tinyxml-${PKGVERSION}
+CATEGORIES= textproc devel lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tinyxml/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc@NetBSD.org
+HOMEPAGE= http://www.grinninglizard.com/tinyxml/
+COMMENT= Simple, small, C++ XML parser
+LICENSE= zlib
+
+USE_LANGUAGES+= c++
+WRKSRC= ${WRKDIR}/${PKGBASE}
+MAKE_ENV+= SHLIB_MAJOR=2 SHLIB_MINOR=6 SHLIB_TEENY=2
+MAKE_ENV+= ${BSD_MAKE_ENV}
+
+INSTALL_TARGET= install includes
+INSTALLATION_DIRS+= include lib
+
+post-extract:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+
+.include "../../mk/bsd.pkg.mk"