Updated to last version, works with tcl8.4 on i386. Giovanni
diff -ruNx CVS tkhylafax.orig/Makefile tkhylafax/Makefile --- tkhylafax.orig/Makefile Thu Mar 15 10:30:55 2007 +++ tkhylafax/Makefile Thu Mar 15 10:32:49 2007 @@ -2,27 +2,19 @@ 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 .include <bsd.port.mk> diff -ruNx CVS tkhylafax.orig/distinfo tkhylafax/distinfo --- tkhylafax.orig/distinfo Thu Mar 15 10:30:55 2007 +++ tkhylafax/distinfo Thu Mar 15 10:32:29 2007 @@ -1,4 +1,5 @@ -MD5 (tkhylafax-3.0b2.tar.gz) = 69b349ff7c6509769d17080109d2c765 -RMD160 (tkhylafax-3.0b2.tar.gz) = 5d50a1f810dbec3ccf3747a47a62f1a67c1fe6aa -SHA1 (tkhylafax-3.0b2.tar.gz) = d239305facf5e2f0bc2771c3fa976f4e28fd0b8c -SIZE (tkhylafax-3.0b2.tar.gz) = 24760 +MD5 (tkhylafax-3.2.tar.gz) = e764c974563a4a7f6a0b258aa47ddeb3 +RMD160 (tkhylafax-3.2.tar.gz) = 7280e73a115a42c61e02ed1d8b82450126683ae6 +SHA1 (tkhylafax-3.2.tar.gz) = ec12b825ec270a7172b5cc7138859d96cbc4ebdf +SHA256 (tkhylafax-3.2.tar.gz) = cf85f90a64150644ae487c867c78cc1e5582ab05a6f64c286a9461c1bb4d5316 +SIZE (tkhylafax-3.2.tar.gz) = 28007 diff -ruNx CVS tkhylafax.orig/patches/patch-Makefile tkhylafax/patches/patch-Makefile --- tkhylafax.orig/patches/patch-Makefile Thu Jan 1 01:00:00 1970 +++ tkhylafax/patches/patch-Makefile Thu Mar 15 10:31:05 2007 @@ -0,0 +1,66 @@ +$OpenBSD$ +--- Makefile.orig Sat Mar 14 20:57:48 1998 ++++ Makefile Sat Feb 3 12:12:00 2007 +@@ -5,7 +5,7 @@ SHELL = /bin/sh + + ### EDIT THE NEXT LINES ONLY ### + +-PREFIX = /usr/local ++#PREFIX = ${PREFIX} + + # The directory where the tkhylafax library will be installed + TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2 +@@ -17,13 +17,13 @@ TCLPRG_DEST = $(PREFIX)/bin + TCLMAN_DEST = $(PREFIX)/man/man1 + + # The full path to tclsh +-TCLSH = /usr/bin/tclsh ++TCLSH = tclsh8.4 + + # The full path to wish. +-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 ### + +@@ -52,7 +52,6 @@ TCLMAN_FILE = tkhylafax + + all: + $(MAKE) build +- $(MAKE) install + + build: Makefile + @echo "Patching tkhylafax..." +@@ -66,24 +65,24 @@ install: install.lib install.man install + + $(TCLLIB_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 755 $(TCLPRG_DEST) + + install.tkhylafax: $(TCLPRG_DEST) $(TCLPRG_FILE) + @echo "Installing tkhylafax command..." + cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$(TCLPRG_FILE) +- chmod 775 $(TCLPRG_DEST)/$(TCLPRG_FILE) ++ chmod 755 $(TCLPRG_DEST)/$(TCLPRG_FILE) + @echo "Done" + + install.man: diff -ruNx CVS tkhylafax.orig/patches/patch-aa tkhylafax/patches/patch-aa --- tkhylafax.orig/patches/patch-aa Thu Mar 15 10:30:55 2007 +++ tkhylafax/patches/patch-aa Thu Jan 1 01:00:00 1970 @@ -1,46 +0,0 @@ ---- Makefile.orig Sun Dec 29 19:26:39 1996 -+++ Makefile Sun Jun 8 13:06:59 1997 -@@ -14,10 +14,10 @@ - TCLMAN_DEST = /usr/local/man/man1 - - # The full path to tclsh --TCLSH = /usr/local/bin/tclsh -+TCLSH = tclsh7.6 - - # The full path to wish. --WISH = /usr/local/bin/wish -+WISH = wish4.2 - ### DON'T EDIT ANYTHING BELOW THIS LINE ### - - TCLLIB_FILES = \ -@@ -40,7 +40,9 @@ - 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): -@@ -59,16 +61,15 @@ - if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi - chmod 775 $(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 775 $(TCLPRG_DEST)/tkhylafax - @echo "Done" - - install.man: diff -ruNx CVS tkhylafax.orig/patches/patch-ab tkhylafax/patches/patch-ab --- tkhylafax.orig/patches/patch-ab Thu Mar 15 10:30:55 2007 +++ tkhylafax/patches/patch-ab Thu Jan 1 01:00:00 1970 @@ -1,19 +0,0 @@ ---- 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 wish4.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]} { diff -ruNx CVS tkhylafax.orig/pkg/PLIST tkhylafax/pkg/PLIST --- tkhylafax.orig/pkg/PLIST Thu Mar 15 10:30:55 2007 +++ tkhylafax/pkg/PLIST Thu Mar 15 10:31:05 2007 @@ -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