pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/sord Import sord-0.12.2 as textproc/sord.



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

description:
Import sord-0.12.2 as textproc/sord.

Sord is a lightweight C library for storing RDF data in memory.

diffstat:

 textproc/sord/DESCR         |   1 +
 textproc/sord/Makefile      |  37 +++++++++++++++++++++++++++++++++++++
 textproc/sord/PLIST         |  14 ++++++++++++++
 textproc/sord/buildlink3.mk |  14 ++++++++++++++
 textproc/sord/distinfo      |   5 +++++
 textproc/sord/options.mk    |  36 ++++++++++++++++++++++++++++++++++++
 6 files changed, 107 insertions(+), 0 deletions(-)

diffs (131 lines):

diff -r f180a38adb81 -r c30c98d50ecf textproc/sord/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sord/DESCR       Sun Apr 19 23:23:10 2015 +0000
@@ -0,0 +1,1 @@
+Sord is a lightweight C library for storing RDF data in memory.
diff -r f180a38adb81 -r c30c98d50ecf textproc/sord/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sord/Makefile    Sun Apr 19 23:23:10 2015 +0000
@@ -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@localhost
+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 -r f180a38adb81 -r c30c98d50ecf textproc/sord/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sord/PLIST       Sun Apr 19 23:23:10 2015 +0000
@@ -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 -r f180a38adb81 -r c30c98d50ecf textproc/sord/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sord/buildlink3.mk       Sun Apr 19 23:23:10 2015 +0000
@@ -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 -r f180a38adb81 -r c30c98d50ecf textproc/sord/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sord/distinfo    Sun Apr 19 23:23:10 2015 +0000
@@ -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 -r f180a38adb81 -r c30c98d50ecf textproc/sord/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/sord/options.mk  Sun Apr 19 23:23:10 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index