pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/aubio aubio: Simplify, use waf.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a9b3ec136ab
branches:  trunk
changeset: 408083:1a9b3ec136ab
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jan 13 16:47:59 2020 +0000

description:
aubio: Simplify, use waf.mk

diffstat:

 audio/aubio/Makefile |  17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diffs (38 lines):

diff -r 2b6079318f69 -r 1a9b3ec136ab audio/aubio/Makefile
--- a/audio/aubio/Makefile      Mon Jan 13 15:46:36 2020 +0000
+++ b/audio/aubio/Makefile      Mon Jan 13 16:47:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2019/10/01 21:48:26 nia Exp $
+# $NetBSD: Makefile,v 1.19 2020/01/13 16:47:59 nia Exp $
 
 DISTNAME=      aubio-0.4.9
 PKGREVISION=   1
@@ -15,25 +15,16 @@
 
 PKGCONFIG_OVERRIDE+=   aubio.pc.in
 
-MAKE_FLAGS+=   WAFCMD="${PYTHONBIN} ./waf"
-MAKE_FLAGS+=   WAFOPTS="--disable-tests"
-MAKE_FLAGS+=   MANDIR="${PREFIX}/${PKGMANDIR}"
+WAF_ARGS+=     --disable-tests
 
 TOOL_DEPENDS+= txt2man-[0-9]*:../../converters/txt2man
 
 CPPFLAGS.SunOS+=       -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
 
-#REPLACE_PYTHON+=      tests/create_tests_source.py
-
-PYTHON_FOR_BUILD_ONLY= yes
-
-do-configure:
-       cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} configure ${MAKE_FLAGS}
-
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/share/man ${DESTDIR}${PREFIX}/${PKGMANDIR} || ${TRUE}
+PYTHON_FOR_BUILD_ONLY= tool
 
 .include "options.mk"
+.include "../../devel/waf/waf.mk"
 .include "../../audio/libsamplerate/buildlink3.mk"
 .include "../../audio/libsndfile/buildlink3.mk"
 .include "../../devel/swig/buildlink3.mk"



Home | Main Index | Thread Index | Old Index