From bc2033875b9674df9acd74f28053d14e548ed56f Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 3 Nov 2002 00:30:26 +0000 Subject: Create a port for kpsk, a PSK-31 radio package for amateur radio users --- comms/Makefile | 1 + comms/kpsk/Makefile | 33 +++++++++++++++++++++++++++++++++ comms/kpsk/distinfo | 1 + comms/kpsk/files/patch-aa | 11 +++++++++++ comms/kpsk/files/patch-ab | 12 ++++++++++++ comms/kpsk/files/patch-ac | 14 ++++++++++++++ comms/kpsk/pkg-comment | 1 + comms/kpsk/pkg-descr | 20 ++++++++++++++++++++ comms/kpsk/pkg-plist | 13 +++++++++++++ 9 files changed, 106 insertions(+) create mode 100644 comms/kpsk/Makefile create mode 100644 comms/kpsk/distinfo create mode 100644 comms/kpsk/files/patch-aa create mode 100644 comms/kpsk/files/patch-ab create mode 100644 comms/kpsk/files/patch-ac create mode 100644 comms/kpsk/pkg-comment create mode 100644 comms/kpsk/pkg-descr create mode 100644 comms/kpsk/pkg-plist diff --git a/comms/Makefile b/comms/Makefile index 6dd852b2d2a9..29a41f3d8af6 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -21,6 +21,7 @@ SUBDIR += java-commapi SUBDIR += java-commapi-freebsd SUBDIR += kermit + SUBDIR += kpsk SUBDIR += lrzsz SUBDIR += ltmdm SUBDIR += mgetty+sendfax diff --git a/comms/kpsk/Makefile b/comms/kpsk/Makefile new file mode 100644 index 000000000000..8928069c7a34 --- /dev/null +++ b/comms/kpsk/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: kpsk +# Date created: 2002-06-12 +# Whom: Patrick Gardella +# +# $FreeBSD$ + +PORTNAME= kpsk +PORTVERSION= 1.0 +CATEGORIES= comms kde +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} + +MAINTAINER= patrick@FreeBSD.org + +LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_KDELIBS_VER=3 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-D_POSIX_C_SOURCE -I${LOCALBASE}/include" \ + USER_LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --enable-debug=full + +post-patch: + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's/-ldb-4.0/-ldb4/g' ${WRKSRC}/configure + +post-install: +.if !defined(NOPORTDOCS) + ${INSTALL_MAN} ${WRKSRC}/doc/en/HTML/handbook.html ${PREFIX}/share/doc/HTML/en/kpsk/ +.endif + +.include diff --git a/comms/kpsk/distinfo b/comms/kpsk/distinfo new file mode 100644 index 000000000000..f2b67a4f0969 --- /dev/null +++ b/comms/kpsk/distinfo @@ -0,0 +1 @@ +MD5 (kpsk-1.0.tar.bz2) = 16ce49f3c3124765dd58efc0ddf79230 diff --git a/comms/kpsk/files/patch-aa b/comms/kpsk/files/patch-aa new file mode 100644 index 000000000000..0ea71b84facc --- /dev/null +++ b/comms/kpsk/files/patch-aa @@ -0,0 +1,11 @@ +--- configure.orig Thu Oct 24 11:17:10 2002 ++++ configure Thu Oct 24 11:17:32 2002 +@@ -8703,7 +8703,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ldb-4.0 $LIBS" ++LIBS="-ldb-4.0 $USER_LDFLAGS $LIBS" + cat > conftest.$ac_ext < ++#endif + + #include + diff --git a/comms/kpsk/files/patch-ac b/comms/kpsk/files/patch-ac new file mode 100644 index 000000000000..90d4f573f06e --- /dev/null +++ b/comms/kpsk/files/patch-ac @@ -0,0 +1,14 @@ +--- kpsk/modes/psk31-transmitter.C.orig Thu Oct 24 10:44:21 2002 ++++ kpsk/modes/psk31-transmitter.C Thu Oct 24 10:46:41 2002 +@@ -11,7 +11,11 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#else + #include ++#endif + #include + #include "psk31-coder.h" + #include "psk31-transmitter.h" diff --git a/comms/kpsk/pkg-comment b/comms/kpsk/pkg-comment new file mode 100644 index 000000000000..d3eb66af6022 --- /dev/null +++ b/comms/kpsk/pkg-comment @@ -0,0 +1 @@ +A PSK31 digital radio communications application for the KDE 3.x diff --git a/comms/kpsk/pkg-descr b/comms/kpsk/pkg-descr new file mode 100644 index 000000000000..6bc031672494 --- /dev/null +++ b/comms/kpsk/pkg-descr @@ -0,0 +1,20 @@ +KPSK is a PSK31 digital radio communications application for use by +licensed amateur radio operators and designed specifically for the +KDE 3.x desktop environment. + +Features include: + + * Simple, feature-filled user interface + * Simultaneous monitoring of up to four PSK31 signals + * User-configurable waterfall colors, fonts. + * Auto-scaling waterfall + * Optimization to provide IMD data only when the measurement is valid + * Twelve user-defined fixedtexts (TX macros), available by mouse + or F1-F12 keys + * Integral BerkeleyDB-based QSO logbook + * BPSK or QPSK operation + * Automatic and manual modes for calling CQ + * Ability to send an ASCII text file + * Extensive application documentation + +WWW: http://1409.org/projects/kpsk/ diff --git a/comms/kpsk/pkg-plist b/comms/kpsk/pkg-plist new file mode 100644 index 000000000000..127b5fb6c3f5 --- /dev/null +++ b/comms/kpsk/pkg-plist @@ -0,0 +1,13 @@ +bin/kpsk +share/applnk/Applications/HamRadio/kpsk.desktop +share/icons/locolor/32x32/apps/kpsk.png +share/icons/locolor/16x16/apps/kpsk.png +share/locale/es/LC_MESSAGES/kpsk.mo +share/doc/HTML/en/kpsk/index.docbook +share/doc/HTML/en/kpsk/index.cache.bz2 +share/apps/kpsk/dxcc.db +share/doc/HTML/en/kpsk/common +%%PORTDOCS%%share/doc/HTML/en/kpsk/handbook.html +@dirrm share/apps/kpsk +@dirrm share/doc/HTML/en/kpsk +@dirrm share/applnk/Applications/HamRadio -- cgit