summaryrefslogtreecommitdiff
path: root/comms/apitran/Makefile
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2018-09-29 19:50:58 +0000
committerDiane Bruce <db@FreeBSD.org>2018-09-29 19:50:58 +0000
commitbcf37be98f465501b366c0a850ba0532cde98eef (patch)
treeda0e9698a304611c1f6544c5efe9c22386fe527f /comms/apitran/Makefile
parentUpdate to 0.2 for miscellaneous improvements. Detailed changes: (diff)
A Linux toolkit for handling signals over the automatric picture
transmission (APT) protocol. ## Intro to Automatic Picture Transmission Automatic picture transmission (APT) is an analog image transmission format developed for use on weather satellites in the 1960s. While only three modern satellites, NOAA 15, NOAA 18, and NOAA 19, transmit on the APT protocol, building a reception station is cheap and simple. The images can be quite high qualitythey natively have a resolution of 4 km/px. It is reasonable to expect at least one good-quality satellite pass (and, thereby, opportunity for image downlink) per day. WWW: https://github.com/rsj56/apitran
Notes
Notes: svn path=/head/; revision=480915
Diffstat (limited to 'comms/apitran/Makefile')
-rw-r--r--comms/apitran/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/comms/apitran/Makefile b/comms/apitran/Makefile
new file mode 100644
index 000000000000..878a8342b952
--- /dev/null
+++ b/comms/apitran/Makefile
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME= apitran
+PORTVERSION= g20180926
+CATEGORIES= comms astro hamradio python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= hamradio@FreeBSD.org
+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 \
+ display:graphics/ImageMagick
+
+USES= python shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= rsj56
+GH_PROJECT= apitran
+GH_TAGNAME= d209347
+#25379d9b681f434145fde9dbbdb3c5ae3
+#GH_TAGNAME= d20934725379d9b681f434145fde9dbbdb3c5ae3
+
+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
+.for f in ex_1ch_11025.png ex_2ch_48000.png ex_2ch_48000.wav
+ ${INSTALL_DATA} ${WRKSRC}/Examples/$f ${STAGEDIR}${EXAMPLESDIR}
+.endfor
+
+.include <bsd.port.mk>