32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2010/01/18 09:59:10 wiz Exp $
|
|
|
|
PKGNAME= gnuradio-wxgui-${VERSION}
|
|
PKGREVISION= 2
|
|
COMMENT= GUI framework for GNU Radio based on wxPython
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
|
|
|
|
PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/fftsink.py
|
|
PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/form.py
|
|
PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/powermate.py
|
|
PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/scopesink.py
|
|
PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/slider.py
|
|
PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/waterfallsink.py
|
|
|
|
SUBST_CLASSES+= py-exec
|
|
SUBST_STAGE.py-exec= pre-configure
|
|
SUBST_MESSAGE.py-exec= Fixing python exec name
|
|
SUBST_FILES.py-exec= configure
|
|
SUBST_SED.py-exec= -e 's,python -c,${PYTHONBIN} -c,g'
|
|
|
|
.include "../../meta-pkgs/gnuradio/Makefile.common"
|
|
|
|
CONF_FILES+= ${EGDIR}/gr-wxgui.conf ${PKG_SYSCONFDIR}/gr-wxgui.conf
|
|
CONFIGURE_ARGS+=--enable-gr-wxgui
|
|
CONFIGURE_ARGS+=--with-gnuradio-core --with-omnithread --with-gruel
|
|
|
|
.include "../../ham/gnuradio-core/buildlink3.mk"
|
|
.include "../../x11/py-wxWidgets/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|