diff options
author | rodent <rodent> | 2015-04-19 23:23:10 +0000 |
---|---|---|
committer | rodent <rodent> | 2015-04-19 23:23:10 +0000 |
commit | b5ade37b4da7250a434ae8003adf26f2bd7191be (patch) | |
tree | 5844be5ef47ef1383c931609527bde1d8fb1980b | |
parent | e581715edccba5dd2ad778b09924d141cab6c486 (diff) | |
download | pkgsrc-b5ade37b4da7250a434ae8003adf26f2bd7191be.tar.gz |
Import sord-0.12.2 as textproc/sord.
Sord is a lightweight C library for storing RDF data in memory.
-rw-r--r-- | textproc/sord/DESCR | 1 | ||||
-rw-r--r-- | textproc/sord/Makefile | 37 | ||||
-rw-r--r-- | textproc/sord/PLIST | 14 | ||||
-rw-r--r-- | textproc/sord/buildlink3.mk | 14 | ||||
-rw-r--r-- | textproc/sord/distinfo | 5 | ||||
-rw-r--r-- | textproc/sord/options.mk | 36 |
6 files changed, 107 insertions, 0 deletions
diff --git a/textproc/sord/DESCR b/textproc/sord/DESCR new file mode 100644 index 00000000000..9b900af1409 --- /dev/null +++ b/textproc/sord/DESCR @@ -0,0 +1 @@ +Sord is a lightweight C library for storing RDF data in memory. diff --git a/textproc/sord/Makefile b/textproc/sord/Makefile new file mode 100644 index 00000000000..2c37b28b760 --- /dev/null +++ b/textproc/sord/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1 2015/04/19 23:23:10 rodent Exp $ + +DISTNAME= sord-0.12.2 +CATEGORIES= textproc +MASTER_SITES= http://download.drobilla.net/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= http://drobilla.net/software/sord/ +COMMENT= Lightweight C library for storing RDF data in memory +LICENSE= isc + +USE_LANGUAGES= c c++ +USE_TOOLS+= gsed pkg-config + +PKGCONFIG_OVERRIDE+= sord.pc.in + +.include "options.mk" + +BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} ${BUILD_VALGRIND} + +do-configure: + cd ${WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \ + --destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \ + ${BUILD_OPTIONS} +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build + +do-install: + cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install + +.include "../../devel/pcre/buildlink3.mk" +BUILDLINK_API_DEPENDS.serd+= serd>=0.18.0 +.include "../../textproc/serd/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/sord/PLIST b/textproc/sord/PLIST new file mode 100644 index 00000000000..5d6103e5d14 --- /dev/null +++ b/textproc/sord/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1 2015/04/19 23:23:10 rodent Exp $ +bin/sord_validate +bin/sordi +include/sord-0/sord/sord.h +include/sord-0/sord/sordmm.hpp +lib/libsord-0.so +lib/libsord-0.so.0 +lib/libsord-0.so.${PKGVERSION} +lib/pkgconfig/sord-0.pc +man/man1/sord_validate.1 +man/man1/sordi.1 +${PLIST.doc}man/man3/sord.3 +${PLIST.doc}share/doc/sord-0/html/index.html +${PLIST.doc}share/doc/sord-0/html/style.css diff --git a/textproc/sord/buildlink3.mk b/textproc/sord/buildlink3.mk new file mode 100644 index 00000000000..0c785bd1ba4 --- /dev/null +++ b/textproc/sord/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/04/19 23:23:10 rodent Exp $ + +BUILDLINK_TREE+= sord + +.if !defined(SORD_BUILDLINK3_MK) +SORD_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.sord+= sord>=0.12.2 +BUILDLINK_PKGSRCDIR.sord?= ../../textproc/sord + +.include "../../textproc/serd/buildlink3.mk" +.endif # SORD_BUILDLINK3_MK + +BUILDLINK_TREE+= -sord diff --git a/textproc/sord/distinfo b/textproc/sord/distinfo new file mode 100644 index 00000000000..3f2b321352d --- /dev/null +++ b/textproc/sord/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/04/19 23:23:10 rodent Exp $ + +SHA1 (sord-0.12.2.tar.bz2) = 01def87419beed8bb51a89e50307a22940f1d968 +RMD160 (sord-0.12.2.tar.bz2) = 1ce1252b4f40938d6208e1b2cd5cff75113c135f +Size (sord-0.12.2.tar.bz2) = 303365 bytes diff --git a/textproc/sord/options.mk b/textproc/sord/options.mk new file mode 100644 index 00000000000..587d72f64af --- /dev/null +++ b/textproc/sord/options.mk @@ -0,0 +1,36 @@ +# $NetBSD: options.mk,v 1.1 2015/04/19 23:23:10 rodent Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sord +PKG_SUPPORTED_OPTIONS= debug doc tests valgrind +PKG_SUGGESTED_OPTIONS+= # blank +PLIST_VARS+= doc + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +BUILD_DEBUG= --debug +.else +BUILD_DEBUG= # blank +.endif + +.if !empty(PKG_OPTIONS:Mdoc) +BUILD_DOC= --docs +BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen +BUILD_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz +PLIST.doc= yes +.else +BUILD_DOC= # blank +.endif + +.if !empty(PKG_OPTIONS:Mtests) +BUILD_TESTS= --test +.else +BUILD_TESTS= # blank +.endif + +.if !empty(PKG_OPTIONS:Mvalgrind) +BUILD_VALGRIND= --grind +BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind +.else +BUILD_VALGRIND= # blank +.endif |