summaryrefslogtreecommitdiff
path: root/comms/apitran/Makefile
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2018-10-02 18:40:54 +0000
committerDiane Bruce <db@FreeBSD.org>2018-10-02 18:40:54 +0000
commit214911448d8cc118ff36b27430f2ba2b678d8e66 (patch)
tree1fcd63bebd4279b97442663d49ca4835ac63cf49 /comms/apitran/Makefile
parentwww/davix: Update 0.6.8 -> 0.6.9 (diff)
Clean up Makefile
- Add missing NO_ARCH, NO_BUILD - removed autoplist - tidy up RUN_DEPENDS - fix typos in install Reported by: jhale
Notes
Notes: svn path=/head/; revision=481122
Diffstat (limited to 'comms/apitran/Makefile')
-rw-r--r--comms/apitran/Makefile22
1 files changed, 9 insertions, 13 deletions
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