From c4e6ca103c9d34efd3979f7a54027ae2a8051c81 Mon Sep 17 00:00:00 2001 From: nia Date: Mon, 13 Jan 2020 16:53:01 +0000 Subject: lv2: Simplify, use waf.mk --- audio/lv2/Makefile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/audio/lv2/Makefile b/audio/lv2/Makefile index 9cd2a6fcbbd..108e6675d2d 100644 --- a/audio/lv2/Makefile +++ b/audio/lv2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2019/07/21 22:23:58 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2020/01/13 16:53:01 nia Exp $ DISTNAME= lv2-1.16.0 PKGREVISION= 3 @@ -20,19 +20,10 @@ REPLACE_PYTHON+= lv2specgen/lv2specgen.py .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} \ - --copy-headers ${BUILD_OPTIONS} -do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build - -do-install: - cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install +WAF_ARGS+= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} ${BUILD_VALGRIND} +WAF_ARGS+= --copy-headers +.include "../../devel/waf/waf.mk" BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.10 .include "../../graphics/cairo/buildlink3.mk" BUILDLINK_API_DEPENDS.gtk2++= gtk2+>=2.18.0 -- cgit v1.2.3