summaryrefslogtreecommitdiff
path: root/textproc/ezxml/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-08-01 00:25:04 +0000
committeragc <agc@pkgsrc.org>2005-08-01 00:25:04 +0000
commit8ae641df5b5cd82959c0aeb8cdfca755971acd6e (patch)
treed45912d53f87b516a9e54627f7cd00568972b474 /textproc/ezxml/Makefile
parentfd12c4404cc76393458df41a8eef0e8632adc3ee (diff)
downloadpkgsrc-8ae641df5b5cd82959c0aeb8cdfca755971acd6e.tar.gz
Import ezxml library, submitted in PR 30887 by Marcin Jessa.
ezXML is a C library for parsing XML documents inspired by simpleXML for PHP. As the name implies, it's easy to use. It's ideal for parsing XML configuration files or REST web service responses. It's also fast and lightweight (less than 20k compiled). An example of how to use the ezXML library can be found in ${PREFIX}/share/doc/ezxml
Diffstat (limited to 'textproc/ezxml/Makefile')
-rw-r--r--textproc/ezxml/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/textproc/ezxml/Makefile b/textproc/ezxml/Makefile
new file mode 100644
index 00000000000..bb963db80a1
--- /dev/null
+++ b/textproc/ezxml/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/01 00:25:04 agc Exp $
+
+DISTNAME= ezxml-0.8.4
+CATEGORIES= textproc devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ezxml/} \
+ http://www.yazzy.org/pkgsrc/ezxml/
+
+MAINTAINER= yazzy@yazzy.org
+HOMEPAGE= http://ezxml.sourceforge.net/
+COMMENT= Easy to use C library for parsing XML documents
+
+WRKSRC= ${WRKDIR}/${PKGNAME:C/-[^-]*$//}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+INSTALLATION_DIRS+= share/doc/ezxml
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libezxml.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/ezxml.h ${PREFIX}/include
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ezxml
+ ${INSTALL_DATA} ${WRKSRC}/ezxml.txt ${PREFIX}/share/doc/ezxml
+
+.include "../../mk/bsd.pkg.mk"