ports/comms/hf/files/patch-hfterm_src_main.c
Ion-Mihai Tetcu d2cde8c5ee hf is a gtk+-based linux ham radio fsk digimode program, which can do also
the realtime ARQ modes pactor 1, amtor, gtor without a ptc, only with a
soundcard and a pc and linux(FreeBSD), all of which need not be the newest.
The core of hf, the heart of the program (hfkernel) is a real master-piece
of code, it has originally been made by Tom Sailer, many thanks Tom!
hf can also do MT63 and has a CW elbug function.

WWW: http://www.hf.webmasternet.org

- Diane Bruce, VA3DB
db@db.net

PR:		ports/101452
Submitted by:	db
2006-09-09 10:54:46 +00:00

15 lines
557 B
C

--- hfterm/src/main.c.orig Mon Jul 31 15:52:06 2006
+++ hfterm/src/main.c Mon Jul 31 15:52:49 2006
@@ -533,7 +533,12 @@
struct hfapp_msg msg;
system("cd");
+#ifdef __linux__
system("if ! [ -d hf ] ; then mkdir hf; cp -ruv /usr/share/hf/hf-examplefiles/* hf; fi");
+#endif
+#ifdef __FreeBSD__
+ system("if ! [ -d hf ] ; then mkdir hf; cp -v /usr/local/share/hf/hf-examplefiles/* hf; fi");
+#endif
sprintf(versioninfo, "hfterm %s by Tom Sailer, Axel Krause, "
"Günther Montag, Pawel Jalocha et al. ", VERSION);
display_status(versioninfo);