Tkhylafax updated to latest version, this version runs with Tcl8.4
(so this port is no more broken).
Tested @i386 with local and remote server (To use a remote server try
`env FAXSERVER=$host tkhylafax`).
Cheers
Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/comms/tkhylafax/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile 26 Oct 2007 20:54:05 -0000 1.22
+++ Makefile 25 Jan 2008 21:31:55 -0000
@@ -2,27 +2,21 @@
COMMENT= Tcl/Tk interface to Sam Leffler's fax package
-DISTNAME= tkhylafax-3.0b2
-PKGNAME= tkhylafax-3.0
+DISTNAME= tkhylafax-3.2
CATEGORIES= comms
-BROKEN= required dependencies not available
-
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-MASTER_SITES=
http://www.NeoSoft.com/tcl/ftparchive/sorted/comm/tkhylafax-3.0b2/
+MASTER_SITES= ftp://ftp.hylafax.org/contrib/tkhylafax/
-RUN_DEPENDS= ::comms/hylafax \
+RUN_DEPENDS= ::x11/tk/8.4 \
+ ::comms/hylafax \
::print/gv
-WRKDIST= ${WRKDIR}/tkhylafax-3.0
-FAKE_FLAGS= \
- TCLLIB_DEST=${PREFIX}/lib/tkhylafax-3.0 \
- TCLPRG_DEST=${PREFIX}/bin \
- TCLMAN_DEST=${PREFIX}/man/man1
+NO_REGRESS= Yes
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/comms/tkhylafax/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 5 Apr 2007 15:37:47 -0000 1.3
+++ distinfo 25 Jan 2008 21:31:55 -0000
@@ -1,5 +1,5 @@
-MD5 (tkhylafax-3.0b2.tar.gz) = abNJ/3xlCXadFwgBCdLHZQ==
-RMD160 (tkhylafax-3.0b2.tar.gz) = XVCh+BDb7DzPN0ekemLxpnwf5qo=
-SHA1 (tkhylafax-3.0b2.tar.gz) = 0jkwX6z14vC8J3HD+pdvTij9C4w=
-SHA256 (tkhylafax-3.0b2.tar.gz) = nzkpz3qG+mK8VrOzdb8ACNgNcFoLxKvrS77OmDYODkA=
-SIZE (tkhylafax-3.0b2.tar.gz) = 24760
+MD5 (tkhylafax-3.2.tar.gz) = 52TJdFY6Sn9qCyWKpH3esw==
+RMD160 (tkhylafax-3.2.tar.gz) = coDnOhFaQsYeAu0di4JFASZoOuY=
+SHA1 (tkhylafax-3.2.tar.gz) = 7BK4JewnCnFytcxxOIWdlsvE698=
+SHA256 (tkhylafax-3.2.tar.gz) = z4X5CmQVBkSuSHyGfHjMHlWCqwWm9kwoapRhwbtNUxY=
+SIZE (tkhylafax-3.2.tar.gz) = 28007
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/comms/tkhylafax/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile
--- patches/patch-Makefile 26 Oct 2007 20:38:21 -0000 1.1
+++ patches/patch-Makefile 25 Jan 2008 21:31:55 -0000
@@ -1,47 +1,66 @@
-$OpenBSD: patch-Makefile,v 1.1 2007/10/26 20:38:21 ajacoutot Exp $
---- Makefile.orig Sun Dec 29 19:26:39 1996
-+++ Makefile Fri Oct 26 22:34:13 2007
-@@ -14,10 +14,10 @@ TCLPRG_DEST = /usr/local/bin
- TCLMAN_DEST = /usr/local/man/man1
+$OpenBSD$
+--- Makefile.orig Sat Mar 14 20:57:48 1998
++++ Makefile Fri Dec 7 21:52:50 2007
+@@ -5,8 +5,6 @@ SHELL = /bin/sh
+
+ ### EDIT THE NEXT LINES ONLY ###
+
+-PREFIX = /usr/local
+-
+ # The directory where the tkhylafax library will be installed
+ TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2
+
+@@ -17,13 +15,13 @@ TCLPRG_DEST = $(PREFIX)/bin
+ TCLMAN_DEST = $(PREFIX)/man/man1
# The full path to tclsh
--TCLSH = /usr/local/bin/tclsh
-+TCLSH = tclsh7.6
+-TCLSH = /usr/bin/tclsh
++TCLSH = tclsh8.4
# The full path to wish.
--WISH = /usr/local/bin/wish
-+WISH = wish4.2
+-WISH = /usr/bin/wish
++WISH = wish8.4
+
+ # The full path to your postscript viewer
+-GHOSTVIEW = /usr/X11/bin/gv
++GHOSTVIEW = ${PREFIX}/bin/gv
+
### DON'T EDIT ANYTHING BELOW THIS LINE ###
- TCLLIB_FILES = \
-@@ -40,7 +40,9 @@ TCLLIB_FILES = \
- 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);
+@@ -52,7 +50,6 @@ TCLMAN_FILE = tkhylafax
+
+ all:
+ $(MAKE) build
+- $(MAKE) install
+
+ build: Makefile
+ @echo "Patching tkhylafax..."
+@@ -66,24 +63,24 @@ install: install.lib install.man install.tkhylafax
$(TCLLIB_DEST):
-@@ -59,16 +61,15 @@ $(TCLPRG_DEST):
+ if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
+- chmod 775 $(TCLLIB_DEST)
++ chmod 755 $(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 ; \
++ 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 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"
+ install.tkhylafax: $(TCLPRG_DEST) $(TCLPRG_FILE)
@echo "Installing tkhylafax command..."
-- cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$@
-- chmod 775 $(TCLPRG_DEST)/$@
-- mv tkhylafax.unpatched tkhylafax
-+ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/tkhylafax
-+ chmod 775 $(TCLPRG_DEST)/tkhylafax
+ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$(TCLPRG_FILE)
+- chmod 775 $(TCLPRG_DEST)/$(TCLPRG_FILE)
++ chmod 755 $(TCLPRG_DEST)/$(TCLPRG_FILE)
@echo "Done"
install.man:
Index: patches/patch-tkhylafax
===================================================================
RCS file: patches/patch-tkhylafax
diff -N patches/patch-tkhylafax
--- patches/patch-tkhylafax 26 Oct 2007 20:38:21 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-$OpenBSD: patch-tkhylafax,v 1.1 2007/10/26 20:38:21 ajacoutot Exp $
---- tkhylafax.orig Tue Dec 31 02:49:43 1996
-+++ tkhylafax Fri Oct 26 22:34:14 2007
-@@ -1,6 +1,6 @@
- #!/bin/sh
- #\
--exec wish "$0" ${1+"$@"}
-+exec wish4.2 "$0" ${1+"$@"}
-
- #
- #
-@@ -291,7 +291,7 @@ proc fileToFax { args } {
-
- proc previewCover { args } {
-
-- set faxcmd "[mkCover] | ghostview -"
-+ set faxcmd "[mkCover] | gv -"
-
- # Exec it
- if {[catch {eval exec $faxcmd &} err]} {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/comms/tkhylafax/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 7 Apr 2002 01:54:48 -0000 1.2
+++ pkg/PLIST 25 Jan 2008 21:31:55 -0000
@@ -1,19 +1,23 @@
@comment $OpenBSD: PLIST,v 1.2 2002/04/07 01:54:48 naddy Exp $
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
-man/man1/tkhylafax.1.gz
+lib/tkhylafax-3.2/
+lib/tkhylafax-3.2/dn.xbm
+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/tclIndex
+lib/tkhylafax-3.2/tkhylafax.xbm
+lib/tkhylafax-3.2/trace.t
+lib/tkhylafax-3.2/up.xbm
+lib/tkhylafax-3.2/viewBatch.t
[EMAIL PROTECTED] man/man1/tkhylafax.1