summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-13 16:53:01 +0000
committernia <nia@pkgsrc.org>2020-01-13 16:53:01 +0000
commitc4e6ca103c9d34efd3979f7a54027ae2a8051c81 (patch)
tree6b85e30bc4d84d1d32fbd24587ab1038cbaf2f21
parent5e8effa0f6e2dab450601f70a469ea482b23cb23 (diff)
downloadpkgsrc-c4e6ca103c9d34efd3979f7a54027ae2a8051c81.tar.gz
lv2: Simplify, use waf.mk
-rw-r--r--audio/lv2/Makefile17
1 files 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