diff options
author | db <db@FreeBSD.org> | 2009-09-02 05:47:50 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2009-09-02 05:47:50 +0800 |
commit | f4434224f579d89a4909f84fd0478d95ae818b25 (patch) | |
tree | 7b2234122cd44564b03d8269bf54e0f02f2cb59d /comms/wspr | |
parent | bfb73bce887bb50947a9cfa2e930c7e5480de04f (diff) | |
download | freebsd-ports-gnome-f4434224f579d89a4909f84fd0478d95ae818b25.tar.gz freebsd-ports-gnome-f4434224f579d89a4909f84fd0478d95ae818b25.tar.zst freebsd-ports-gnome-f4434224f579d89a4909f84fd0478d95ae818b25.zip |
WSPR (pronounced "whisper") stands for "Weak Signal Propagation Reporter."
This program is designed for sending and receiving low-power transmissions
to test propagation paths on the MF and HF bands. Users with internet access
can watch results in real time at WSPRnet.
WWW: http://physics.princeton.edu/pulsar/K1JT
Diffstat (limited to 'comms/wspr')
-rw-r--r-- | comms/wspr/Makefile | 67 | ||||
-rw-r--r-- | comms/wspr/Makefile.svn_rev | 1 | ||||
-rw-r--r-- | comms/wspr/distinfo | 3 | ||||
-rw-r--r-- | comms/wspr/pkg-descr | 6 | ||||
-rw-r--r-- | comms/wspr/pkg-message | 5 | ||||
-rw-r--r-- | comms/wspr/pkg-plist | 19 |
6 files changed, 101 insertions, 0 deletions
diff --git a/comms/wspr/Makefile b/comms/wspr/Makefile new file mode 100644 index 000000000000..ba98a4736b1e --- /dev/null +++ b/comms/wspr/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: wspr +# Date created: 30 April 2009 +# Whom: Diane Bruce <db@db.net> +# +# $FreeBSD$ +# + +PORTNAME= wspr +PORTVERSION= 1.11 +CATEGORIES= comms hamradio +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= db +DISTNAME= wspr-r${SVN_REV} + +MAINTAINER= db@FreeBSD.org +COMMENT= Weak signal for HF ham radio communication package + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter/ \ + ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging +LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float \ + samplerate:${PORTSDIR}/audio/libsamplerate +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/scipy:${PORTSDIR}/science/py-scipy \ + ${LOCALBASE}/lib/portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2 \ + ${PYNUMPY} + +ALL_TARGET= build +USE_BZIP2= yes +USE_FORTRAN= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-gfortran --prefix=${LOCALBASE} \ + --with-portaudio-include-dir=${LOCALBASE}/include/portaudio2 \ + --with-portaudio-lib-dir=${LOCALBASE}/lib/portaudio2 +CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +USE_PYTHON= 2.4+ +USE_AUTOTOOLS= libtool:22 +PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \ + PORTVERSION=${PORTVERSION} + +.include <bsd.port.pre.mk> + +post-install: + @${CAT} ${PKGMESSAGE} + +.if defined(BOOTSTRAP) +SVN_REV!= svn info http://svn.berlios.de/svnroot/repos/wsjt/branches/wspr/ | ${GREP} Revision | cut -d' ' -f2 +.else +.include "Makefile.svn_rev" +.endif + +.if defined(BOOTSTRAP) +FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion + +do-fetch: + ${MKDIR} ${WRKDIR} + svn export -r ${SVN_REV} \ + http://svn.berlios.de/svnroot/repos/wsjt/branches/wspr ${WRKSRC} + cd ${WRKDIR};rm -f ${DISTNAME}/*.a ${DISTNAME}/*.lib ${DISTNAME}/*.dll;\ + tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} + echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev +.if ${USER} == db + scp ${DISTDIR}/${DISTNAME}.tar.bz2 \ + freefall.freebsd.org:public_distfiles/ +.endif +.endif + +.include <bsd.port.post.mk> diff --git a/comms/wspr/Makefile.svn_rev b/comms/wspr/Makefile.svn_rev new file mode 100644 index 000000000000..c7ef6dae8557 --- /dev/null +++ b/comms/wspr/Makefile.svn_rev @@ -0,0 +1 @@ +SVN_REV= 1194 diff --git a/comms/wspr/distinfo b/comms/wspr/distinfo new file mode 100644 index 000000000000..313cfdcb52d1 --- /dev/null +++ b/comms/wspr/distinfo @@ -0,0 +1,3 @@ +MD5 (wspr-r1194.tar.bz2) = 3faa7f1e9a43fe12ccb480916db3e1c7 +SHA256 (wspr-r1194.tar.bz2) = bf1d1431a54acf281d7b6b183e455a1fee4c51ec53e19ce122dba4c53ae43408 +SIZE (wspr-r1194.tar.bz2) = 192042 diff --git a/comms/wspr/pkg-descr b/comms/wspr/pkg-descr new file mode 100644 index 000000000000..135be80aaeef --- /dev/null +++ b/comms/wspr/pkg-descr @@ -0,0 +1,6 @@ +WSPR (pronounced "whisper") stands for "Weak Signal Propagation Reporter." +This program is designed for sending and receiving low-power transmissions +to test propagation paths on the MF and HF bands. Users with internet access +can watch results in real time at WSPRnet. + +WWW: http://physics.princeton.edu/pulsar/K1JT diff --git a/comms/wspr/pkg-message b/comms/wspr/pkg-message new file mode 100644 index 000000000000..31d180e9a070 --- /dev/null +++ b/comms/wspr/pkg-message @@ -0,0 +1,5 @@ +wspr is now installed. + +Now, go chase some HF dx. + +- 73 Diane VA3DB diff --git a/comms/wspr/pkg-plist b/comms/wspr/pkg-plist new file mode 100644 index 000000000000..7a281a0abe6e --- /dev/null +++ b/comms/wspr/pkg-plist @@ -0,0 +1,19 @@ +bin/wspr +bin/wspr.py +%%PYTHON_SITELIBDIR%%/WsprMod/w.so +%%PYTHON_SITELIBDIR%%/WsprMod/__init__.py +%%PYTHON_SITELIBDIR%%/WsprMod/__init__.pyc +%%PYTHON_SITELIBDIR%%/WsprMod/Pmw.py +%%PYTHON_SITELIBDIR%%/WsprMod/Pmw.pyc +%%PYTHON_SITELIBDIR%%/WsprMod/PmwBlt.py +%%PYTHON_SITELIBDIR%%/WsprMod/PmwBlt.pyc +%%PYTHON_SITELIBDIR%%/WsprMod/PmwColor.py +%%PYTHON_SITELIBDIR%%/WsprMod/PmwColor.pyc +%%PYTHON_SITELIBDIR%%/WsprMod/g.py +%%PYTHON_SITELIBDIR%%/WsprMod/g.pyc +%%PYTHON_SITELIBDIR%%/WsprMod/options.py +%%PYTHON_SITELIBDIR%%/WsprMod/options.pyc +%%PYTHON_SITELIBDIR%%/WsprMod/palettes.py +%%PYTHON_SITELIBDIR%%/WsprMod/palettes.pyc +%%PYTHON_SITELIBDIR%%/Wspr-WSPR.Version.%%PORTVERSION%%_.by.K1JT-py%%PYVER%%.egg-info +@dirrm %%PYTHON_SITELIBDIR%%/WsprMod |