2019-04-25 09:32:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2019/04/25 07:33:24 maya Exp $
|
2015-04-20 01:10:52 +02:00
|
|
|
|
2019-01-02 20:39:23 +01:00
|
|
|
DISTNAME= serd-0.30.0
|
2019-04-25 09:32:34 +02:00
|
|
|
PKGREVISION= 1
|
2015-04-20 01:10:52 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://download.drobilla.net/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2017-09-16 21:26:41 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2015-04-20 01:10:52 +02:00
|
|
|
HOMEPAGE= http://drobilla.net/software/serd/
|
|
|
|
COMMENT= Lightweight C library for RDF syntax
|
|
|
|
LICENSE= isc
|
|
|
|
|
2019-01-04 17:02:21 +01:00
|
|
|
USE_LANGUAGES= c99
|
2015-04-20 01:10:52 +02:00
|
|
|
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"
|