aboutsummaryrefslogtreecommitdiffstats
path: root/comms/qsstv
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2008-03-06 01:33:49 +0800
committerdb <db@FreeBSD.org>2008-03-06 01:33:49 +0800
commite6a8d2a61d7742941fcab5c3092fd9e9fa0307dc (patch)
tree23ddec6b61e4067c5aef7d8f1033c9797c0f4279 /comms/qsstv
parent4a73ccbe2479ec0a23baaa8f8ed59d0b100e8004 (diff)
downloadfreebsd-ports-gnome-e6a8d2a61d7742941fcab5c3092fd9e9fa0307dc.tar.gz
freebsd-ports-gnome-e6a8d2a61d7742941fcab5c3092fd9e9fa0307dc.tar.zst
freebsd-ports-gnome-e6a8d2a61d7742941fcab5c3092fd9e9fa0307dc.zip
- Chase web site change.
- Add backup download site. - Fix defaults.
Diffstat (limited to 'comms/qsstv')
-rw-r--r--comms/qsstv/Makefile10
-rw-r--r--comms/qsstv/files/patch-configdialog.cpp20
-rw-r--r--comms/qsstv/pkg-descr2
3 files changed, 29 insertions, 3 deletions
diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile
index bf918ff16129..a4ad6a176714 100644
--- a/comms/qsstv/Makefile
+++ b/comms/qsstv/Makefile
@@ -7,9 +7,11 @@
PORTNAME= qsstv
PORTVERSION= 6.0a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= comms hamradio
-MASTER_SITES= http://users.telenet.be/on4qz/snapshots/download/
+MASTER_SITES= http://users.telenet.be/on4qz/snapshots/download/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= db
EXTRACT_SUFX= .tgz
MAINTAINER= db@FreeBSD.org
@@ -26,6 +28,10 @@ MAKE_ARGS+= QTDIR=${QT_PREFIX} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
DESTDIR="" TARGET="qsstv" DOCSDIR="${DOCSDIR}"
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \
+ ${WRKSRC}/configdialog.cpp
+
do-configure:
cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro; \
diff --git a/comms/qsstv/files/patch-configdialog.cpp b/comms/qsstv/files/patch-configdialog.cpp
new file mode 100644
index 000000000000..e61552ddcd2a
--- /dev/null
+++ b/comms/qsstv/files/patch-configdialog.cpp
@@ -0,0 +1,20 @@
+--- configdialog.cpp.orig 2008-03-05 09:37:46.000000000 -0500
++++ configdialog.cpp 2008-03-05 09:45:55.000000000 -0500
+@@ -104,7 +104,7 @@
+ void configDialog::readSettings()
+ {
+ QSettings qSettings(QSettings::Ini);
+- docPath =qSettings.readEntry(APP_KEY + "docPath",QString("/usr/share/doc/packages/qsstv/"));
++ docPath =qSettings.readEntry(APP_KEY + "docPath",QString("%%DOCSDIR%%"));
+ audioPath=qSettings.readEntry(APP_KEY + "audioPath",QString(getenv("HOME"))+"/");
+ rxImagePath=qSettings.readEntry(APP_KEY + "rxImagePath",QString(getenv("HOME"))+"/");
+ templatePath=qSettings.readEntry(APP_KEY + "templatePath",QString(getenv("HOME"))+"/");
+@@ -115,7 +115,7 @@
+ rxClock=qSettings.readDoubleEntry(APP_KEY + "rxClock",11025);
+ txClock=qSettings.readDoubleEntry(APP_KEY + "txClock",11025);
+ audioDevice=qSettings.readEntry(APP_KEY + "audioDevice","/dev/dsp");
+- serialPort=qSettings.readEntry(APP_KEY + "serialPort","/dev/ttyS0");
++ serialPort=qSettings.readEntry(APP_KEY + "serialPort","/dev/ttyd0");
+ callsign=qSettings.readEntry(APP_KEY + "callsign","NOCALL");
+ qth=qSettings.readEntry(APP_KEY + "qth","NOWHERE");
+ lastname=qSettings.readEntry(APP_KEY + "lastname","NONAME");
diff --git a/comms/qsstv/pkg-descr b/comms/qsstv/pkg-descr
index 431107573f7e..60671cd93eac 100644
--- a/comms/qsstv/pkg-descr
+++ b/comms/qsstv/pkg-descr
@@ -1,6 +1,6 @@
SSTV decode and Version 5 supports FAX reception
-WWW: http://users.pandora.be/on1mh/
+WWW: http://users.telenet.be/on4qz/
- Diane
db@db.net