From 214911448d8cc118ff36b27430f2ba2b678d8e66 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Tue, 2 Oct 2018 18:40:54 +0000 Subject: Clean up Makefile - Add missing NO_ARCH, NO_BUILD - removed autoplist - tidy up RUN_DEPENDS - fix typos in install Reported by: jhale --- comms/apitran/Makefile | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'comms/apitran/Makefile') diff --git a/comms/apitran/Makefile b/comms/apitran/Makefile index 878a8342b952..dde56df767cc 100644 --- a/comms/apitran/Makefile +++ b/comms/apitran/Makefile @@ -11,34 +11,30 @@ COMMENT= Toolkit to handle the automatic picture transmission protocol LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ - ${PYNUMPY} -RUN_DEPENDS= sox:audio/sox \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYNUMPY} \ + sox:audio/sox \ display:graphics/ImageMagick -USES= python shebangfix +USES= python:run shebangfix USE_GITHUB= yes GH_ACCOUNT= rsj56 GH_PROJECT= apitran GH_TAGNAME= d209347 -#25379d9b681f434145fde9dbbdb3c5ae3 -#GH_TAGNAME= d20934725379d9b681f434145fde9dbbdb3c5ae3 +NO_BUILD= yes +NO_ARCH= yes SHEBANG_FILES= apitran -USE_PYTHON= autoplist - -do-build: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/apitran ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} .for f in NOAA_APT_Frame_Format.gif README.md ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .endfor + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ex_1ch_11025.png ex_2ch_48000.png ex_2ch_48000.wav ${INSTALL_DATA} ${WRKSRC}/Examples/$f ${STAGEDIR}${EXAMPLESDIR} .endfor -- cgit v1.2.3