- Chase web site change.

- Add backup download site.
- Fix defaults.
This commit is contained in:
Diane Bruce 2008-03-05 17:33:49 +00:00
parent a598dc2cb8
commit 2cbbb95c9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208470
3 changed files with 29 additions and 3 deletions

View file

@ -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; \

View file

@ -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");

View file

@ -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