aboutsummaryrefslogtreecommitdiff
path: root/comms/tkhylafax
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2003-01-16 20:34:51 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2003-01-16 20:34:51 +0000
commitf2344e5553e205105a443fab7b98aeffc0650b83 (patch)
tree01cbf3a40219dc533871b51a613461fb40dfbf98 /comms/tkhylafax
parentacc1f3fc4bb89969b27674ba7dc96dca24c840ac (diff)
downloadports-f2344e5553e205105a443fab7b98aeffc0650b83.tar.gz
ports-f2344e5553e205105a443fab7b98aeffc0650b83.zip
o Update to version 3.2beta
o Correction of MASTER_SITES o Includes patch for sendfax option handling modification, which prevents sending out a fax via tkhylafax
Notes
Notes: svn path=/head/; revision=73282
Diffstat (limited to 'comms/tkhylafax')
-rw-r--r--comms/tkhylafax/Makefile7
-rw-r--r--comms/tkhylafax/distinfo2
-rw-r--r--comms/tkhylafax/files/patch-aa147
-rw-r--r--comms/tkhylafax/files/patch-ab54
-rw-r--r--comms/tkhylafax/pkg-plist37
5 files changed, 147 insertions, 100 deletions
diff --git a/comms/tkhylafax/Makefile b/comms/tkhylafax/Makefile
index dd5fa6956b3e..20eb67439d9e 100644
--- a/comms/tkhylafax/Makefile
+++ b/comms/tkhylafax/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= tkhylafax
-PORTVERSION= 3.0b2
+PORTVERSION= 3.2b
CATEGORIES= comms tk82
-MASTER_SITES= http://www.NeoSoft.com/tcl/ftparchive/sorted/comm/tkhylafax-3.0b2/
+MASTER_SITES= ftp://ftp.hylafax.org/contrib/tkhylafax/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= ports@FreeBSD.org
@@ -17,7 +18,7 @@ RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 \
gs:${PORTSDIR}/print/ghostscript-gnu \
gv:${PORTSDIR}/print/gv
-WRKSRC= ${WRKDIR}/tkhylafax-3.0
+WRKSRC= ${WRKDIR}/tkhylafax
MAN1= tkhylafax.1
.include <bsd.port.mk>
diff --git a/comms/tkhylafax/distinfo b/comms/tkhylafax/distinfo
index c78625ae48ac..6b59029eeb3d 100644
--- a/comms/tkhylafax/distinfo
+++ b/comms/tkhylafax/distinfo
@@ -1 +1 @@
-MD5 (tkhylafax-3.0b2.tar.gz) = 69b349ff7c6509769d17080109d2c765
+MD5 (tkhylafax-3.2beta.tar.gz) = ee9e0fd2df2cb9f8c07a25f46f7083ca
diff --git a/comms/tkhylafax/files/patch-aa b/comms/tkhylafax/files/patch-aa
index 4b33d98e3845..ed1ac31e50ad 100644
--- a/comms/tkhylafax/files/patch-aa
+++ b/comms/tkhylafax/files/patch-aa
@@ -1,60 +1,87 @@
---- Makefile.orig Sun Dec 29 13:26:39 1996
-+++ Makefile Thu Sep 14 18:07:32 2000
-@@ -14,10 +14,10 @@
- TCLMAN_DEST = /usr/local/man/man1
-
- # The full path to tclsh
--TCLSH = /usr/local/bin/tclsh
-+TCLSH = tclsh8.2
-
- # The full path to wish.
--WISH = /usr/local/bin/wish
-+WISH = wish8.2
- ### DON'T EDIT ANYTHING BELOW THIS LINE ###
-
- TCLLIB_FILES = \
-@@ -40,35 +40,36 @@
- TCLPRG_FILE = tkhylafax
- TCLMAN_FILE = tkhylafax
-
--all: lib install.man tkhylafax
-+all:
-+
-+install: lib install.man tkhylafax.inst
- echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH);
-
- $(TCLLIB_DEST):
- if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
-- chmod 775 $(TCLLIB_DEST)
-+ chmod 755 $(TCLLIB_DEST)
-
- lib: $(TCLLIB_DEST)
- @echo "Installing tkhylafax library..."
- -for i in $(TCLLIB_FILES) ; do \
- cp $$i $(TCLLIB_DEST)/$$i ; \
-- chmod 664 $(TCLLIB_DEST)/$$i ; \
-+ chmod 644 $(TCLLIB_DEST)/$$i ; \
- done
- @echo "Done"
-
- $(TCLPRG_DEST):
- if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
-- chmod 775 $(TCLPRG_DEST)
-+ chmod 755 $(TCLPRG_DEST)
-
--tkhylafax: $(TCLPRG_DEST)
-+tkhylafax.inst: $(TCLPRG_DEST)
- @echo "Patching tkhylafax..."
- mv tkhylafax tkhylafax.unpatched
- sed -e 's|XXX_TKHYLAFAX_XXX|$(TCLLIB_DEST)|g' \
- tkhylafax.unpatched > tkhylafax
- @echo "Done"
- @echo "Installing tkhylafax command..."
-- cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$@
-- chmod 775 $(TCLPRG_DEST)/$@
-- mv tkhylafax.unpatched tkhylafax
-+ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/tkhylafax
-+ chmod 755 $(TCLPRG_DEST)/tkhylafax
- @echo "Done"
-
- install.man:
+*** Makefile.orig Sat Mar 14 20:57:48 1998
+--- Makefile Thu Jan 16 21:12:09 2003
+***************
+*** 5,11 ****
+
+ ### EDIT THE NEXT LINES ONLY ###
+
+! PREFIX = /usr/local
+
+ # The directory where the tkhylafax library will be installed
+ TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2
+--- 5,11 ----
+
+ ### EDIT THE NEXT LINES ONLY ###
+
+! #PREFIX = ${PREFIX}
+
+ # The directory where the tkhylafax library will be installed
+ TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2
+***************
+*** 17,29 ****
+ TCLMAN_DEST = $(PREFIX)/man/man1
+
+ # The full path to tclsh
+! TCLSH = /usr/bin/tclsh
+
+ # The full path to wish.
+! WISH = /usr/bin/wish
+
+ # The full path to your postscript viewer
+! GHOSTVIEW = /usr/X11/bin/gv
+
+ ### DON'T EDIT ANYTHING BELOW THIS LINE ###
+
+--- 17,29 ----
+ TCLMAN_DEST = $(PREFIX)/man/man1
+
+ # The full path to tclsh
+! TCLSH = tclsh8.2
+
+ # The full path to wish.
+! WISH = wish8.2
+
+ # The full path to your postscript viewer
+! GHOSTVIEW = ${X11BASE}/bin/gv
+
+ ### DON'T EDIT ANYTHING BELOW THIS LINE ###
+
+***************
+*** 52,58 ****
+
+ all:
+ $(MAKE) build
+- $(MAKE) install
+
+ build: Makefile
+ @echo "Patching tkhylafax..."
+--- 52,57 ----
+***************
+*** 66,78 ****
+
+ $(TCLLIB_DEST):
+ if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
+! chmod 775 $(TCLLIB_DEST)
+
+ install.lib: $(TCLLIB_DEST)
+ @echo "Installing tkhylafax library..."
+ -for i in $(TCLLIB_FILES) ; do \
+ cp $$i $(TCLLIB_DEST)/$$i ; \
+! chmod 664 $(TCLLIB_DEST)/$$i ; \
+ done
+ @echo "Done"
+
+--- 65,77 ----
+
+ $(TCLLIB_DEST):
+ if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
+! chmod 755 $(TCLLIB_DEST)
+
+ install.lib: $(TCLLIB_DEST)
+ @echo "Installing tkhylafax library..."
+ -for i in $(TCLLIB_FILES) ; do \
+ cp $$i $(TCLLIB_DEST)/$$i ; \
+! chmod 644 $(TCLLIB_DEST)/$$i ; \
+ done
+ @echo "Done"
+
diff --git a/comms/tkhylafax/files/patch-ab b/comms/tkhylafax/files/patch-ab
index e32112699866..792eef2adcf5 100644
--- a/comms/tkhylafax/files/patch-ab
+++ b/comms/tkhylafax/files/patch-ab
@@ -1,19 +1,35 @@
---- tkhylafax.orig Tue Dec 31 02:49:43 1996
-+++ tkhylafax Sun Jun 8 12:34:58 1997
-@@ -1,6 +1,6 @@
- #!/bin/sh
- #\
--exec wish "$0" ${1+"$@"}
-+exec wish8.2 "$0" ${1+"$@"}
-
- #
- #
-@@ -291,7 +291,7 @@
-
- proc previewCover { args } {
-
-- set faxcmd "[mkCover] | ghostview -"
-+ set faxcmd "[mkCover] | gv -"
-
- # Exec it
- if {[catch {eval exec $faxcmd &} err]} {
+*** faxIt.t.org Thu Jan 16 21:08:00 2003
+--- faxIt.t Thu Jan 16 21:10:58 2003
+***************
+*** 66,80 ****
+ $Th_Info(notifyOnRetry)
+
+ if {[string length $Th_Info(name)]} {
+- # This MUST appear.
+- regsub -all {["'$\\]} $Th_Info(name) {\\&} name
+- append options " -d \"$name@$Th_Info(phone)\""
+-
+ # Make an ID string for later usage
+ regsub -all {["'$\\]} $Th_Info(company) {\\&} company
+ append options " -i \"$name@$company\""
+ } else {
+! # This MUST appear.
+ append options " -d $Th_Info(phone)"
+ }
+
+--- 66,80 ----
+ $Th_Info(notifyOnRetry)
+
+ if {[string length $Th_Info(name)]} {
+ # Make an ID string for later usage
++ regsub -all {["'$\\]} $Th_Info(name) {\\&} name
+ regsub -all {["'$\\]} $Th_Info(company) {\\&} company
+ append options " -i \"$name@$company\""
++
++ # This MUST appear last.
++ append options " -d \"$name@$Th_Info(phone)\""
+ } else {
+! # This MUST appear last.
+ append options " -d $Th_Info(phone)"
+ }
+
diff --git a/comms/tkhylafax/pkg-plist b/comms/tkhylafax/pkg-plist
index e5b275e9dc8c..a72bfa721302 100644
--- a/comms/tkhylafax/pkg-plist
+++ b/comms/tkhylafax/pkg-plist
@@ -1,18 +1,21 @@
bin/tkhylafax
-lib/tkhylafax-3.0/entryDialog.t
-lib/tkhylafax-3.0/extract.t
-lib/tkhylafax-3.0/faxIt.t
-lib/tkhylafax-3.0/fileSelect.t
-lib/tkhylafax-3.0/listBatches.t
-lib/tkhylafax-3.0/mkCover.t
-lib/tkhylafax-3.0/mkWidgets.t
-lib/tkhylafax-3.0/options.t
-lib/tkhylafax-3.0/preferences.t
-lib/tkhylafax-3.0/rolodex.t
-lib/tkhylafax-3.0/searchEntries.t
-lib/tkhylafax-3.0/sendBatch.t
-lib/tkhylafax-3.0/svrStatus.t
-lib/tkhylafax-3.0/tkhylafax.xbm
-lib/tkhylafax-3.0/viewBatch.t
-lib/tkhylafax-3.0/tclIndex
-@dirrm lib/tkhylafax-3.0
+lib/tkhylafax-3.2/entryDialog.t
+lib/tkhylafax-3.2/extract.t
+lib/tkhylafax-3.2/faxIt.t
+lib/tkhylafax-3.2/fileSelect.t
+lib/tkhylafax-3.2/listBatches.t
+lib/tkhylafax-3.2/mkCover.t
+lib/tkhylafax-3.2/mkWidgets.t
+lib/tkhylafax-3.2/options.t
+lib/tkhylafax-3.2/preferences.t
+lib/tkhylafax-3.2/rolodex.t
+lib/tkhylafax-3.2/searchEntries.t
+lib/tkhylafax-3.2/sendBatch.t
+lib/tkhylafax-3.2/svrStatus.t
+lib/tkhylafax-3.2/trace.t
+lib/tkhylafax-3.2/viewBatch.t
+lib/tkhylafax-3.2/tclIndex
+lib/tkhylafax-3.2/tkhylafax.xbm
+lib/tkhylafax-3.2/dn.xbm
+lib/tkhylafax-3.2/up.xbm
+@dirrm lib/tkhylafax-3.2