pkgsrc/textproc/serd/Makefile
2017-09-16 19:26:41 +00:00

33 lines
875 B
Makefile

# $NetBSD: Makefile,v 1.2 2017/09/16 19:27:20 wiz Exp $
DISTNAME= serd-0.20.0
CATEGORIES= textproc
MASTER_SITES= http://download.drobilla.net/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@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"