aboutsummaryrefslogtreecommitdiff
path: root/comms/qsstv
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2008-03-05 17:33:49 +0000
committerDiane Bruce <db@FreeBSD.org>2008-03-05 17:33:49 +0000
commit2cbbb95c9bd71a4f4b329583007aa92ef1ca5a0c (patch)
tree4fa5f1bc3f6024ac0d323dabc1749a10e1831d26 /comms/qsstv
parenta598dc2cb81af4ed8732538059572c6961044c40 (diff)
downloadports-2cbbb95c9bd71a4f4b329583007aa92ef1ca5a0c.tar.gz
ports-2cbbb95c9bd71a4f4b329583007aa92ef1ca5a0c.zip
Notes
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