pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/sratom Import sratom-0.4.6 as converters/sr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d944ca5241f
branches:  trunk
changeset: 650268:6d944ca5241f
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sun Apr 19 23:45:05 2015 +0000

description:
Import sratom-0.4.6 as converters/sratom.

Sratom is a library for serialising LV2 atoms to/from RDF, particularly the
Turtle syntax.

diffstat:

 converters/sratom/DESCR         |   2 ++
 converters/sratom/Makefile      |  39 +++++++++++++++++++++++++++++++++++++++
 converters/sratom/PLIST         |   9 +++++++++
 converters/sratom/buildlink3.mk |  15 +++++++++++++++
 converters/sratom/distinfo      |   5 +++++
 converters/sratom/options.mk    |  29 +++++++++++++++++++++++++++++
 6 files changed, 99 insertions(+), 0 deletions(-)

diffs (123 lines):

diff -r c79f8c26898f -r 6d944ca5241f converters/sratom/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/sratom/DESCR   Sun Apr 19 23:45:05 2015 +0000
@@ -0,0 +1,2 @@
+Sratom is a library for serialising LV2 atoms to/from RDF, particularly the
+Turtle syntax.
diff -r c79f8c26898f -r 6d944ca5241f converters/sratom/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/sratom/Makefile        Sun Apr 19 23:45:05 2015 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2015/04/19 23:45:06 rodent Exp $
+
+DISTNAME=      sratom-0.4.6
+CATEGORIES=    converters
+MASTER_SITES=  http://download.drobilla.net/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    rodent%NetBSD.org@localhost
+HOMEPAGE=      http://drobilla.net/software/sratom/
+COMMENT=       Library for serialising LV2 atoms to/from RDF
+LICENSE=       isc
+
+USE_TOOLS+=    gsed pkg-config
+
+PKGCONFIG_OVERRIDE+=   sratom.pc.in
+
+.include "options.mk"
+
+BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS}
+
+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
+
+BUILDLINK_API_DEPENDS.sord+=   sord>=0.12.0
+.include "../../textproc/sord/buildlink3.mk"
+BUILDLINK_API_DEPENDS.serd+=   serd>=0.14.0
+.include "../../textproc/serd/buildlink3.mk"
+BUILDLINK_API_DEPENDS.lv2+=    lv2>=1.8.1
+.include "../../audio/lv2/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c79f8c26898f -r 6d944ca5241f converters/sratom/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/sratom/PLIST   Sun Apr 19 23:45:05 2015 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/19 23:45:06 rodent Exp $
+include/sratom-0/sratom/sratom.h
+lib/libsratom-0.so
+lib/libsratom-0.so.0
+lib/libsratom-0.so.${PKGVERSION}
+lib/pkgconfig/sratom-0.pc
+${PLIST.doc}man/man3/sratom.3
+${PLIST.doc}share/doc/sratom-0/html/index.html
+${PLIST.doc}share/doc/sratom-0/html/style.css
diff -r c79f8c26898f -r 6d944ca5241f converters/sratom/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/sratom/buildlink3.mk   Sun Apr 19 23:45:05 2015 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/04/19 23:45:06 rodent Exp $
+
+BUILDLINK_TREE+=       sratom
+
+.if !defined(SRATOM_BUILDLINK3_MK)
+SRATOM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.6
+BUILDLINK_PKGSRCDIR.sratom?=   ../../converters/sratom
+
+.include "../../textproc/sord/buildlink3.mk"
+.include "../../textproc/serd/buildlink3.mk"
+.endif # SRATOM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -sratom
diff -r c79f8c26898f -r 6d944ca5241f converters/sratom/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/sratom/distinfo        Sun Apr 19 23:45:05 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/19 23:45:06 rodent Exp $
+
+SHA1 (sratom-0.4.6.tar.bz2) = 5f7d18e4917e5a2fee6eedc6ae06aa72d47fa52a
+RMD160 (sratom-0.4.6.tar.bz2) = 4c984f787285cd55ef95320511edc54720bafd11
+Size (sratom-0.4.6.tar.bz2) = 138165 bytes
diff -r c79f8c26898f -r 6d944ca5241f converters/sratom/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/sratom/options.mk      Sun Apr 19 23:45:05 2015 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: options.mk,v 1.1 2015/04/19 23:45:06 rodent Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.sratom
+PKG_SUPPORTED_OPTIONS= debug doc tests
+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



Home | Main Index | Thread Index | Old Index