aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2005-09-19 18:41:34 +0800
committervsevolod <vsevolod@FreeBSD.org>2005-09-19 18:41:34 +0800
commitaa09642b16d1c0ad1c0cf2f1f9041e465020e7d8 (patch)
tree8efc223ca7fa4b90fb320d8e99bf234453d7cacc /net
parentce188b86dd066561c782e9bd6478903610f96b85 (diff)
downloadfreebsd-ports-graphics-aa09642b16d1c0ad1c0cf2f1f9041e465020e7d8.tar.gz
freebsd-ports-graphics-aa09642b16d1c0ad1c0cf2f1f9041e465020e7d8.tar.zst
freebsd-ports-graphics-aa09642b16d1c0ad1c0cf2f1f9041e465020e7d8.zip
Add net/empty - easy to use replacement for expect. Empty do not use
TCL and is more lightweight than expect. PR: 86295 Submitted by: Mikhail Zakharov <zmey20000@yahoo.com>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/empty/Makefile25
-rw-r--r--net/empty/distinfo2
-rw-r--r--net/empty/files/patch-Makefile14
-rw-r--r--net/empty/pkg-descr8
5 files changed, 50 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d98679c46ca..96c52b1586c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -126,6 +126,7 @@
SUBDIR += edonkey-gui-gtk
SUBDIR += edonkey-gui-gtk-urlslave
SUBDIR += ejabberd
+ SUBDIR += empty
SUBDIR += entitymib
SUBDIR += erlang_xmlrpc
SUBDIR += etherboot
diff --git a/net/empty/Makefile b/net/empty/Makefile
new file mode 100644
index 00000000000..ea78e4bfcb9
--- /dev/null
+++ b/net/empty/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: empty
+# Date created: 17 September 2005
+# Whom: Mikhail Zakharov <zmey20000@yahoo.com>
+#
+# $FreeBSD$
+
+PORTNAME= empty
+PORTVERSION= 0.6.0b
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= zmey20000@yahoo.com
+COMMENT= Expect-like tool for pure shell
+
+MAN1= empty.1
+
+PLIST_FILES= bin/empty
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/empty ${PREFIX}/bin/empty
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
+
+.include <bsd.port.mk>
diff --git a/net/empty/distinfo b/net/empty/distinfo
new file mode 100644
index 00000000000..fbab0f9450b
--- /dev/null
+++ b/net/empty/distinfo
@@ -0,0 +1,2 @@
+MD5 (empty-0.6.0b.tgz) = 3c151388372b83c60f1f18d3210cb28d
+SIZE (empty-0.6.0b.tgz) = 8951
diff --git a/net/empty/files/patch-Makefile b/net/empty/files/patch-Makefile
new file mode 100644
index 00000000000..f36fdab4820
--- /dev/null
+++ b/net/empty/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig Mon Sep 19 14:32:32 2005
++++ Makefile Mon Sep 19 14:33:23 2005
+@@ -3,8 +3,10 @@
+ # make to build for *BSD or Linux
+ #
+
++CC ?= gcc
++
+ all:
+- gcc -lutil -o empty empty.c
++ ${CC} ${CFLAGS} -lutil -o empty empty.c
+
+ FreeBSD: all
+ NetBSD: all
diff --git a/net/empty/pkg-descr b/net/empty/pkg-descr
new file mode 100644
index 00000000000..bfe11f91e91
--- /dev/null
+++ b/net/empty/pkg-descr
@@ -0,0 +1,8 @@
+empty - run applications under pseudo-terminal (PTY) sessions and replace
+TCL/Expect with a simple tool and use your favorite shell (sh, bash, csh,
+tcsh,Xksh, zsh, etc)
+
+WWW: http://empty.sourceforge.net/
+
+- Mikhail Zakharov
+zmey20000@yahoo.com