# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gmfsk # gmfsk/pkg-plist # gmfsk/distinfo # gmfsk/pkg-descr # gmfsk/files # gmfsk/files/patch-config.h.in # gmfsk/files/patch-snd.c # gmfsk/Makefile # gmfsk/pkg-message # echo c - gmfsk mkdir -p gmfsk > /dev/null 2>&1 echo x - gmfsk/pkg-plist sed 's/^X//' >gmfsk/pkg-plist << 'END-of-gmfsk/pkg-plist' Xbin/gmfsk Xshare/pixmaps/gmfsk/mfsk.png Xshare/pixmaps/gmfsk/pause.xpm Xshare/pixmaps/gmfsk/rx.xpm Xshare/pixmaps/gmfsk/tune.xpm Xshare/pixmaps/gmfsk/tx.xpm X@dirrm share/pixmaps/gmfsk X@dirrm share/pixmaps END-of-gmfsk/pkg-plist echo x - gmfsk/distinfo sed 's/^X//' >gmfsk/distinfo << 'END-of-gmfsk/distinfo' XMD5 (gmfsk-0.5.tar.gz) = b27d4debb69b97a6c290b7811bb402f6 END-of-gmfsk/distinfo echo x - gmfsk/pkg-descr sed 's/^X//' >gmfsk/pkg-descr << 'END-of-gmfsk/pkg-descr' XgMFSK v0.5 - The Gnome MFSK terminal program X============================================ X XgMFSK is a multi-mode soundcard terminal program for HF amateur Xcommunications. Originally the program was written for compatibility Xwith the IZ8BLY Stream program in MFSK16 mode. Currently the program Xsupports the following amateur digital communications modes: MFSK16, XMFSK8, RTTY, THROB, PSK31, MT63 and FELDHELL. X XWWW: http://hes.iki.fi/ X X- Carl Xcarl@stagecraft.cx END-of-gmfsk/pkg-descr echo c - gmfsk/files mkdir -p gmfsk/files > /dev/null 2>&1 echo x - gmfsk/files/patch-config.h.in sed 's/^X//' >gmfsk/files/patch-config.h.in << 'END-of-gmfsk/files/patch-config.h.in' X--- ./config.h.in.orig Thu May 29 21:48:43 2003 X+++ ./config.h.in Thu May 29 21:48:51 2003 X@@ -20,7 +20,7 @@ X #undef HAVE_DFFTW_H X X /* Define to 1 if you have the header file. */ X-#undef HAVE_FFTW_H X+#define HAVE_FFTW_H X X /* Define if the GNU gettext() function is already present or preinstalled. */ X #undef HAVE_GETTEXT END-of-gmfsk/files/patch-config.h.in echo x - gmfsk/files/patch-snd.c sed 's/^X//' >gmfsk/files/patch-snd.c << 'END-of-gmfsk/files/patch-snd.c' X--- ./src/snd.c.orig Thu May 29 22:03:20 2003 X+++ ./src/snd.c Thu May 29 22:17:00 2003 X@@ -9,7 +9,14 @@ X #include X #include X #include X-#include X+#if HAVE_SYS_BYTEORDER_H X+# include X+#elif HAVE_MACHINE_ENDIAN_H X+# include X+#elif HAVE_ENDIAN_H X+# include X+#endif X+ X #include X #include X X@@ -18,6 +25,8 @@ X #include "misc.h" X X #undef SND_DEBUG X+ X+#define AFMT_S16_NE AFMT_S16_LE X X /* ---------------------------------------------------------------------- */ X END-of-gmfsk/files/patch-snd.c echo x - gmfsk/Makefile sed 's/^X//' >gmfsk/Makefile << 'END-of-gmfsk/Makefile' X# New ports collection makefile for: gmfsk X# Date created: 29th May 2003 X# Whom: Carl Makin X# X# $FreeBSD$ X# X XPORTNAME= gmfsk XPORTVERSION= 0.5 XCATEGORIES= comms audio XMASTER_SITES= http://hes.iki.fi/pub/ham/unix/linux/hfmodems/ X XMAINTAINER= carl@stagecraft.cx XCOMMENT= The Gnome MFSK terminal program X XLIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ X qt-mt.3:${PORTSDIR}/x11-toolkits/qt31 X XWRKSRC= ${WRKDIR}/gmfsk-0.5 XGNU_CONFIGURE= yes X# This is pure evil but it looks like autoconf 2.53 has a bug in linking the X# preprocessor include tests. This is a work around. XCONFIGURE_ARGS= LDFLAGS="-L${LOCALBASE}/lib" X# There is a bug in the code that causes the compile to fail if -O is not set. XCFLAGS+= -O -I${LOCALBASE}/include XUSE_GMAKE= yes XUSE_AUTOCONF= yes XUSE_AUTOCONF_VER= 253 XUSE_GNOME= gtk20 libgnomeui X Xpost-install: X ${CAT} pkg-message X X.include END-of-gmfsk/Makefile echo x - gmfsk/pkg-message sed 's/^X//' >gmfsk/pkg-message << 'END-of-gmfsk/pkg-message' X X******************************************************************** XgMFSK by Tomi Manninen, OH2BNS, is now installed! X XStart it using the command "gmfsk". You may need to type "rehash" Xfirst. X XUpon first starting it, go to Settings->Preferences and fill out Xall your details. X XUnder Settings->Preferences->Devices->Sound set your sound device to X/dev/dspW0 XThis will use the 16bit sound device rather than /dev/dsp0 which is Xthe 8bit sound device. X XThen use the Gnome-volume-control to set your receive and transmit Xlevels. DO NOT OVERDRIVE YOUR RIG. I recommend you head over to Xhttp://www.w5bbr.com/ Xwhich has links to useful info. X XThe port currently has a minor bug that means error messages will be Xprinted if the LANG environment variable is not set to something in X/usr/share/locale. You can either set the LANG environment variable Xor ignore the error. X XEnjoy! XCarl, VK1KCM Xcarl@stagecraft.cx X******************************************************************** END-of-gmfsk/pkg-message exit