diff --git a/net/Makefile b/net/Makefile index 577b92ce5af..8984859709b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 1998/07/12 04:49:01 angelos Exp $ +# $OpenBSD: Makefile,v 1.20 1998/07/16 17:30:29 downsj Exp $ # $FreeBSD: Makefile,v 1.129 1997/11/20 13:47:40 itojun Exp $ # @@ -84,7 +84,7 @@ # SUBDIR += tcptrace # SUBDIR += telnetx SUBDIR += tintin++ -# SUBDIR += tinyfugue + SUBDIR += tinyfugue # SUBDIR += traceroute SUBDIR += trafshow # SUBDIR += ttt diff --git a/net/tinyfugue/Makefile b/net/tinyfugue/Makefile new file mode 100644 index 00000000000..26af92e9076 --- /dev/null +++ b/net/tinyfugue/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: tinyfugue +# Version required: 4.0a7 +# Date created: Thu Jul 16 10:23:11 PDT 1998 +# Whom: downsj@openbsd.org +# +# Originally from FreeBSD: +# Date created: 4 January 1997 +# Whom: mike@binghamton.edu +# +# $OpenBSD: Makefile,v 1.1 1998/07/16 17:30:32 downsj Exp $ +# + +DISTNAME= tf-40a7 +PKGNAME= tf-4.0a7 +CATEGORIES= net +MASTER_SITES= ftp://tf.tcp.com/pub/tinyfugue/ \ + ftp://laurel.actlab.utexas.edu/pub/tinyfugue/ + +MAINTAINER= downsj@openbsd.org + +MAN1= tf.1 +MAKEFILE= ${WRKSRC}/unix/Makefile +ALL_TARGET= ${MAKE_ARGS} all +INSTALL_TARGET= ${MAKE_ARGS} install + +MAKE_ARGS= TFVER=${DISTNAME:S/^tf-//} + +.include diff --git a/net/tinyfugue/files/md5 b/net/tinyfugue/files/md5 new file mode 100644 index 00000000000..86e55c52248 --- /dev/null +++ b/net/tinyfugue/files/md5 @@ -0,0 +1 @@ +MD5 (tf-40a7.tar.gz) = 45031816083ce564471ecc4dc05b47ec diff --git a/net/tinyfugue/patches/patch-ab b/net/tinyfugue/patches/patch-ab new file mode 100644 index 00000000000..399ac4cf508 --- /dev/null +++ b/net/tinyfugue/patches/patch-ab @@ -0,0 +1,29 @@ +--- unix/Config.orig Fri Apr 4 11:51:58 1997 ++++ unix/Config Mon Jun 16 18:18:29 1997 +@@ -33,9 +33,12 @@ + # even if an old version is currently in use. You can remove + # the old version manually later when it is no longer in use. + +-# TF="/usr/local/bin/tf-${TFVER}" +-# LIBDIR="/usr/local/lib/tf-${TFVER}-lib" +-# SYMLINK="/usr/local/bin/tf" ++if [ -z "${PREFIX}" ]; then ++ PREFIX="/usr/local" ++fi ++TF="${PREFIX}/bin/tf-${TFVER}" ++LIBDIR="${PREFIX}/lib/tf-${TFVER}-lib" ++SYMLINK="${PREFIX}/bin/tf" + + + ### Manual Page. +@@ -44,8 +47,8 @@ + # uses nroff format; set MANTYPE=cat if your man uses pre-formatted + # vt100 "catman" pages. Default is "cat". + +-# MANTYPE="nroff" +-# MANPAGE="/usr/local/man/man1/tf.1" ++MANTYPE="nroff" ++MANPAGE="${PREFIX}/man/man1/tf.1" + + + ### Flags. diff --git a/net/tinyfugue/patches/patch-ac b/net/tinyfugue/patches/patch-ac new file mode 100644 index 00000000000..45945169ba6 --- /dev/null +++ b/net/tinyfugue/patches/patch-ac @@ -0,0 +1,31 @@ +--- unix/tfconfig.orig Fri Apr 4 11:51:58 1997 ++++ unix/tfconfig Mon Jun 16 18:00:45 1997 +@@ -211,17 +211,17 @@ + echo + + echo 'To change these locations type "n" now and edit the unix/Config file.' +-while [ -z "$ans" ]; do +- echo 'Continue? (y/n)' +- read ans; +- case "$ans" in +- y|Y) break ;; +- n|N) exit 1 ;; +- *) ans= +- echo 'Please answer "y" or "n".' +- ;; +- esac +-done ++# while [ -z "$ans" ]; do ++# echo 'Continue? (y/n)' ++# read ans; ++# case "$ans" in ++# y|Y) break ;; ++# n|N) exit 1 ;; ++# *) ans= ++# echo 'Please answer "y" or "n".' ++# ;; ++# esac ++# done + echo; echo + + echo "#define LIBDIR \"${LIBDIR}\"" >&4 diff --git a/net/tinyfugue/pkg/COMMENT b/net/tinyfugue/pkg/COMMENT new file mode 100644 index 00000000000..e5e0466eb97 --- /dev/null +++ b/net/tinyfugue/pkg/COMMENT @@ -0,0 +1 @@ +A popular programmable MUD client, with macro support and more. diff --git a/net/tinyfugue/pkg/DESCR b/net/tinyfugue/pkg/DESCR new file mode 100644 index 00000000000..82de8e8cb47 --- /dev/null +++ b/net/tinyfugue/pkg/DESCR @@ -0,0 +1,6 @@ +TinyFugue is a powerful, programmable MUD client with macro support +and multi-worlding support and much more. See +http://tf.tcp.com/~hawkeye/tf/ for more information on TinyFugue. + +-Mike Peck +mike@binghamton.edu diff --git a/net/tinyfugue/pkg/PLIST b/net/tinyfugue/pkg/PLIST new file mode 100644 index 00000000000..93534438538 --- /dev/null +++ b/net/tinyfugue/pkg/PLIST @@ -0,0 +1,59 @@ +bin/tf +bin/tf-40a7 +lib/tf-40a7-lib/CHANGES +lib/tf-40a7-lib/README +lib/tf-40a7-lib/alias.tf +lib/tf-40a7-lib/at.tf +lib/tf-40a7-lib/bind-bash.tf +lib/tf-40a7-lib/bind-emacs.tf +lib/tf-40a7-lib/changes.tf +lib/tf-40a7-lib/color.tf +lib/tf-40a7-lib/complete.tf +lib/tf-40a7-lib/completion.tf +lib/tf-40a7-lib/examples.old +lib/tf-40a7-lib/factoral.tf +lib/tf-40a7-lib/factorial.tf +lib/tf-40a7-lib/file-xfer.tf +lib/tf-40a7-lib/filexfer.tf +lib/tf-40a7-lib/finger.tf +lib/tf-40a7-lib/grep.tf +lib/tf-40a7-lib/hanoi.tf +lib/tf-40a7-lib/kb-bash.tf +lib/tf-40a7-lib/kb-emacs.tf +lib/tf-40a7-lib/kb-os2.tf +lib/tf-40a7-lib/kbbind.tf +lib/tf-40a7-lib/kbfunc.tf +lib/tf-40a7-lib/kbregion.tf +lib/tf-40a7-lib/kbstack.tf +lib/tf-40a7-lib/lisp.tf +lib/tf-40a7-lib/local-eg.tf +lib/tf-40a7-lib/local.tf.sample +lib/tf-40a7-lib/map.tf +lib/tf-40a7-lib/pcmd.tf +lib/tf-40a7-lib/pref-shell.tf +lib/tf-40a7-lib/psh.tf +lib/tf-40a7-lib/quoter.tf +lib/tf-40a7-lib/relog.tf +lib/tf-40a7-lib/replace.tf +lib/tf-40a7-lib/rwho.tf +lib/tf-40a7-lib/self.tf +lib/tf-40a7-lib/space_page.tf +lib/tf-40a7-lib/spc-page.tf +lib/tf-40a7-lib/spedwalk.tf +lib/tf-40a7-lib/speedwalk.tf +lib/tf-40a7-lib/spell.tf +lib/tf-40a7-lib/stack-q.tf +lib/tf-40a7-lib/stack_queue.tf +lib/tf-40a7-lib/stdlib.tf +lib/tf-40a7-lib/tf-help +lib/tf-40a7-lib/tf-help.idx +lib/tf-40a7-lib/tfrc +lib/tf-40a7-lib/tick.tf +lib/tf-40a7-lib/tintin.tf +lib/tf-40a7-lib/tools.tf +lib/tf-40a7-lib/tr.tf +lib/tf-40a7-lib/watch.tf +lib/tf-40a7-lib/world-q.tf +lib/tf-40a7-lib/worldqueue.tf +man/man1/tf.1.gz +@dirrm lib/tf-40a7-lib