Pullup ticket #3518.
[pkgsrcv2.git] / ham / gnuradio-wxgui / Makefile
1 # $NetBSD: Makefile,v 1.22 2011/01/13 13:36:15 wiz Exp $
2
3 PKGNAME=        gnuradio-wxgui-${VERSION}
4 PKGREVISION=    3
5 COMMENT=        GUI framework for GNU Radio based on wxPython
6
7 PKG_DESTDIR_SUPPORT=    user-destdir
8
9 PYTHON_PATCH_SCRIPTS+=  gr-wxgui/src/python/form.py
10 PYTHON_PATCH_SCRIPTS+=  gr-wxgui/src/python/powermate.py
11 PYTHON_PATCH_SCRIPTS+=  gr-wxgui/src/python/slider.py
12
13 SUBST_CLASSES+=         py-exec
14 SUBST_STAGE.py-exec=    pre-configure
15 SUBST_MESSAGE.py-exec=  Fixing python exec name
16 SUBST_FILES.py-exec=    configure
17 SUBST_SED.py-exec=      -e 's,python -c,${PYTHONBIN} -c,g'
18
19 .include "../../meta-pkgs/gnuradio/Makefile.common"
20
21 CONF_FILES+=    ${EGDIR}/gr-wxgui.conf ${PKG_SYSCONFDIR}/gr-wxgui.conf
22 CONFIGURE_ARGS+=--enable-gr-wxgui
23 CONFIGURE_ARGS+=--with-gnuradio-core --with-omnithread --with-gruel
24
25 .include "../../ham/gnuradio-core/buildlink3.mk"
26 .include "../../math/py-numpy/buildlink3.mk"
27 .include "../../x11/py-wxWidgets/buildlink3.mk"
28 .include "../../mk/bsd.pkg.mk"