pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/serd Import serd-0.20.0 as textproc/serd.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cae96caf348c
branches:  trunk
changeset: 650259:cae96caf348c
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sun Apr 19 23:10:52 2015 +0000

description:
Import serd-0.20.0 as textproc/serd.

Serd is a lightweight C library for RDF syntax which supports reading and
writing Turtle and NTriples.

Serd is not intended to be a swiss-army knife of RDF syntax, but rather is
suited to resource limited or performance critical applications (e.g. converting
many gigabytes of NTriples to Turtle), or situations where a simple
reader/writer with minimal dependencies is ideal (e.g. in LV2 implementations or
embedded applications).

diffstat:

 textproc/serd/DESCR         |   8 ++++++++
 textproc/serd/Makefile      |  33 +++++++++++++++++++++++++++++++++
 textproc/serd/PLIST         |  11 +++++++++++
 textproc/serd/buildlink3.mk |  12 ++++++++++++
 textproc/serd/distinfo      |   5 +++++
 textproc/serd/options.mk    |  35 +++++++++++++++++++++++++++++++++++
 6 files changed, 104 insertions(+), 0 deletions(-)

diffs (128 lines):

diff -r fddae0f11514 -r cae96caf348c textproc/serd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/serd/DESCR       Sun Apr 19 23:10:52 2015 +0000
@@ -0,0 +1,8 @@
+Serd is a lightweight C library for RDF syntax which supports reading and
+writing Turtle and NTriples.
+
+Serd is not intended to be a swiss-army knife of RDF syntax, but rather is
+suited to resource limited or performance critical applications (e.g. converting
+many gigabytes of NTriples to Turtle), or situations where a simple
+reader/writer with minimal dependencies is ideal (e.g. in LV2 implementations or
+embedded applications).
diff -r fddae0f11514 -r cae96caf348c textproc/serd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/serd/Makefile    Sun Apr 19 23:10:52 2015 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2015/04/19 23:10:52 rodent Exp $
+
+DISTNAME=      serd-0.20.0
+CATEGORIES=    textproc
+MASTER_SITES=  http://download.drobilla.net/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    rodent%NetBSD.org@localhost
+HOMEPAGE=      http://drobilla.net/software/serd/
+COMMENT=       Lightweight C library for RDF syntax
+LICENSE=       isc
+
+USE_TOOLS+=    gsed pkg-config
+
+PKGCONFIG_OVERRIDE+=   serd.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 "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fddae0f11514 -r cae96caf348c textproc/serd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/serd/PLIST       Sun Apr 19 23:10:52 2015 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/19 23:10:52 rodent Exp $
+bin/serdi
+include/serd-0/serd/serd.h
+lib/libserd-0.so
+lib/libserd-0.so.0
+lib/libserd-0.so.${PKGVERSION}
+lib/pkgconfig/serd-0.pc
+man/man1/serdi.1
+${PLIST.doc}man/man3/serd.3
+${PLIST.doc}share/doc/serd-0/html/index.html
+${PLIST.doc}share/doc/serd-0/html/style.css
diff -r fddae0f11514 -r cae96caf348c textproc/serd/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/serd/buildlink3.mk       Sun Apr 19 23:10:52 2015 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/04/19 23:10:52 rodent Exp $
+
+BUILDLINK_TREE+=       serd
+
+.if !defined(SERD_BUILDLINK3_MK)
+SERD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.serd+=   serd>=0.20.0
+BUILDLINK_PKGSRCDIR.serd?=     ../../textproc/serd
+.endif # SERD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -serd
diff -r fddae0f11514 -r cae96caf348c textproc/serd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/serd/distinfo    Sun Apr 19 23:10:52 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/19 23:10:52 rodent Exp $
+
+SHA1 (serd-0.20.0.tar.bz2) = 38c0c8600270e38d99bc87b0ceb14b25c4c0cea3
+RMD160 (serd-0.20.0.tar.bz2) = 097ae78907780c79ea96e3c518deecca2d8fd099
+Size (serd-0.20.0.tar.bz2) = 363807 bytes
diff -r fddae0f11514 -r cae96caf348c textproc/serd/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/serd/options.mk  Sun Apr 19 23:10:52 2015 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: options.mk,v 1.1 2015/04/19 23:10:52 rodent Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.serd
+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
+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



Home | Main Index | Thread Index | Old Index