diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2010-08-31 10:04:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2010-08-31 10:04:59 +0800 |
commit | 752cccf5ba29cdaae7c6b8e8d68f2fec790260b6 (patch) | |
tree | dd3875a34e9639fc4c3102233acfb24066983b6f /textproc | |
parent | 82a6496b3ec090b8ad37562bc703a019606c965f (diff) | |
download | freebsd-ports-gnome-752cccf5ba29cdaae7c6b8e8d68f2fec790260b6.tar.gz freebsd-ports-gnome-752cccf5ba29cdaae7c6b8e8d68f2fec790260b6.tar.zst freebsd-ports-gnome-752cccf5ba29cdaae7c6b8e8d68f2fec790260b6.zip |
A C++ XML parser library.
WWW: http://bitbucket.org/klepa/simplexml
PR: 149320
Submitted by: Konstantin Lepa <konstantin.lepa@gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/simplexml/Makefile | 36 | ||||
-rw-r--r-- | textproc/simplexml/distinfo | 3 | ||||
-rw-r--r-- | textproc/simplexml/pkg-descr | 3 | ||||
-rw-r--r-- | textproc/simplexml/pkg-plist | 15 |
5 files changed, 58 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index ae1a187ee04d..036983c4ce70 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1171,6 +1171,7 @@ SUBDIR += sgrep2 SUBDIR += silvercity SUBDIR += simplehtmldom + SUBDIR += simplexml SUBDIR += sk-aspell SUBDIR += sk-ispell SUBDIR += skim diff --git a/textproc/simplexml/Makefile b/textproc/simplexml/Makefile new file mode 100644 index 000000000000..c8808f40fd7b --- /dev/null +++ b/textproc/simplexml/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: simplexml +# Date created: May 18 2010 +# Whom: Konstantin Lepa <konstantin.lepa@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= simplexml +PORTVERSION= 1.0.1 +CATEGORIES= textproc +MASTER_SITES= http://bitbucket.org/klepa/simplexml/get/ +DISTNAME= ${PORTVERSION} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= konstantin.lepa@gmail.com +COMMENT= C++ XML parser library + +LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 + +USE_GZIP= yes +USE_CMAKE= yes +USE_ICONV= yes +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.if defined(WITH_DEBUG) +CMAKE_ARGS+= -DDEBUG_MODE:BOOL=ON +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \ + /set.*CMAKE_BUILD_TYPE/d' ${WRKSRC}/CMakeLists.txt \ + ${WRKSRC}/cmake/FindIconv.cmake + +.include <bsd.port.mk> diff --git a/textproc/simplexml/distinfo b/textproc/simplexml/distinfo new file mode 100644 index 000000000000..8b720fcbcb86 --- /dev/null +++ b/textproc/simplexml/distinfo @@ -0,0 +1,3 @@ +MD5 (simplexml/1.0.1.tar.gz) = a08ccdbf23313e8b5034e84233f9f9f6 +SHA256 (simplexml/1.0.1.tar.gz) = 75cfe30b6dca0a89b3b6ec0d5ef631b428ed41c3294e26986cba408fe40b92e9 +SIZE (simplexml/1.0.1.tar.gz) = 18274 diff --git a/textproc/simplexml/pkg-descr b/textproc/simplexml/pkg-descr new file mode 100644 index 000000000000..85936e550625 --- /dev/null +++ b/textproc/simplexml/pkg-descr @@ -0,0 +1,3 @@ +A C++ XML parser library. + +WWW: http://bitbucket.org/klepa/simplexml diff --git a/textproc/simplexml/pkg-plist b/textproc/simplexml/pkg-plist new file mode 100644 index 000000000000..75fa338342fb --- /dev/null +++ b/textproc/simplexml/pkg-plist @@ -0,0 +1,15 @@ +bin/simplexml_xsg +include/simplexml/types.hpp +include/simplexml/xml-attr.hpp +include/simplexml/xml-element.hpp +include/simplexml/xml-exception.hpp +include/simplexml/xml-handler-base.hpp +include/simplexml/xml-handler.hpp +include/simplexml/xml-parser.hpp +include/simplexml/xml-validator-base.hpp +include/simplexml/xml-validator.hpp +include/simplexml/xml-value.hpp +lib/libsimplexml.so +lib/libsimplexml.so.1 +lib/libsimplexml.so.1.0 +@dirrm include/simplexml |