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).
33 lines
872 B
Makefile
33 lines
872 B
Makefile
# $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
|
|
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"
|