From 03e610ae38b5ffd090ffa06389d9a9f7658f4d11 Mon Sep 17 00:00:00 2001 From: rh Date: Wed, 11 Aug 1999 06:18:13 +0000 Subject: Initial import of FreeBSD port of tkhylafax-3.1, a tcl/tk interface to Sam Leffler's fax package. --- comms/tkhylafax/Makefile | 24 +++++++++++++++++++++ comms/tkhylafax/files/md5 | 1 + comms/tkhylafax/patches/patch-aa | 46 ++++++++++++++++++++++++++++++++++++++++ comms/tkhylafax/patches/patch-ab | 19 +++++++++++++++++ comms/tkhylafax/pkg/COMMENT | 1 + comms/tkhylafax/pkg/DESCR | 12 +++++++++++ comms/tkhylafax/pkg/PLIST | 17 +++++++++++++++ 7 files changed, 120 insertions(+) create mode 100644 comms/tkhylafax/Makefile create mode 100644 comms/tkhylafax/files/md5 create mode 100644 comms/tkhylafax/patches/patch-aa create mode 100644 comms/tkhylafax/patches/patch-ab create mode 100644 comms/tkhylafax/pkg/COMMENT create mode 100644 comms/tkhylafax/pkg/DESCR create mode 100644 comms/tkhylafax/pkg/PLIST (limited to 'comms/tkhylafax') diff --git a/comms/tkhylafax/Makefile b/comms/tkhylafax/Makefile new file mode 100644 index 00000000000..7f28a318d31 --- /dev/null +++ b/comms/tkhylafax/Makefile @@ -0,0 +1,24 @@ +# New ports collection Makefile for: tkhylafax-3.0 +# Version required: 3.0b2 +# Date created: Sun Jun 8 11:51:21 CEST 1997 +# Whom: Andreas Klemm +# +# $Id: Makefile,v 1.1.1.1 1999/08/11 06:18:13 rh Exp $ +# + +DISTNAME= tkhylafax-3.0b2 +PKGNAME= tkhylafax-3.0 +CATEGORIES= comms tk42 +MASTER_SITES= http://www.NeoSoft.com/tcl/ftparchive/sorted/comm/tkhylafax-3.0b2/ + +MAINTAINER= andreas@FreeBSD.ORG + +RUN_DEPENDS= wish4.2:${PORTSDIR}/x11-toolkits/tk42 \ + sendfax:${PORTSDIR}/comms/hylafax \ + gs:${PORTSDIR}/print/ghostscript4 \ + gv:${PORTSDIR}/print/gv + +WRKSRC= ${WRKDIR}/tkhylafax-3.0 +MAN1= tkhylafax.1 + +.include diff --git a/comms/tkhylafax/files/md5 b/comms/tkhylafax/files/md5 new file mode 100644 index 00000000000..c78625ae48a --- /dev/null +++ b/comms/tkhylafax/files/md5 @@ -0,0 +1 @@ +MD5 (tkhylafax-3.0b2.tar.gz) = 69b349ff7c6509769d17080109d2c765 diff --git a/comms/tkhylafax/patches/patch-aa b/comms/tkhylafax/patches/patch-aa new file mode 100644 index 00000000000..269edad06a0 --- /dev/null +++ b/comms/tkhylafax/patches/patch-aa @@ -0,0 +1,46 @@ +--- 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 --git a/comms/tkhylafax/patches/patch-ab b/comms/tkhylafax/patches/patch-ab new file mode 100644 index 00000000000..22301325fc6 --- /dev/null +++ b/comms/tkhylafax/patches/patch-ab @@ -0,0 +1,19 @@ +--- 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 --git a/comms/tkhylafax/pkg/COMMENT b/comms/tkhylafax/pkg/COMMENT new file mode 100644 index 00000000000..e5afccad593 --- /dev/null +++ b/comms/tkhylafax/pkg/COMMENT @@ -0,0 +1 @@ +a tcl/tk interface to Sam Leffler's fax package diff --git a/comms/tkhylafax/pkg/DESCR b/comms/tkhylafax/pkg/DESCR new file mode 100644 index 00000000000..1ec0a025041 --- /dev/null +++ b/comms/tkhylafax/pkg/DESCR @@ -0,0 +1,12 @@ +tkhylafax is a tcl/tk interface to Sam Leffler's HYLAFAX package + +features: + o Batching fax destinations + o Built-in fax number database + o Fast cover sheet generation + o Cover sheet preview + o Cover sheet ONLY transmission option + o Directory browser + o Fax job dequeuing made easier + o Fax job scheduling made easier + o Highly configurable diff --git a/comms/tkhylafax/pkg/PLIST b/comms/tkhylafax/pkg/PLIST new file mode 100644 index 00000000000..72952708bcd --- /dev/null +++ b/comms/tkhylafax/pkg/PLIST @@ -0,0 +1,17 @@ +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 -- cgit v1.2.3