diff options
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/detachtty/Makefile | 29 | ||||
-rw-r--r-- | misc/detachtty/distinfo | 1 | ||||
-rw-r--r-- | misc/detachtty/files/patch-aa | 32 | ||||
-rw-r--r-- | misc/detachtty/pkg-descr | 9 | ||||
-rw-r--r-- | misc/detachtty/pkg-plist | 2 |
6 files changed, 74 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 6f9bbcac003e..67cbf5116b06 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -56,6 +56,7 @@ SUBDIR += dejagnu SUBDIR += delay SUBDIR += demoniac + SUBDIR += detachtty SUBDIR += diction SUBDIR += dirtree SUBDIR += display diff --git a/misc/detachtty/Makefile b/misc/detachtty/Makefile new file mode 100644 index 000000000000..c0416011f346 --- /dev/null +++ b/misc/detachtty/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: detachtty +# Date created: 25 March 2003 +# Whom: johs +# +# $FreeBSD$ +# + +PORTNAME= detachtty +PORTVERSION= 6 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.linux.org.uk/pub/lisp/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= johs@copyleft.no +COMMENT= Run interactive programs non-interactively + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_GMAKE= yes + +MAN1= detachtty.1 +MLINKS= detachtty.1 attachtty.1 +MANCOMPRESSED= no + +post-install: +.if !defined(NO_INSTALL_MANPAGES) + ${INSTALL_MAN} ${WRKSRC}/detachtty.1 ${MANPREFIX}/man/man1 +.endif + +.include <bsd.port.mk> diff --git a/misc/detachtty/distinfo b/misc/detachtty/distinfo new file mode 100644 index 000000000000..50badd2c9467 --- /dev/null +++ b/misc/detachtty/distinfo @@ -0,0 +1 @@ +MD5 (detachtty_6.tar.gz) = a6eb413286998b1635436da9ef876b54 diff --git a/misc/detachtty/files/patch-aa b/misc/detachtty/files/patch-aa new file mode 100644 index 000000000000..21ff2159333a --- /dev/null +++ b/misc/detachtty/files/patch-aa @@ -0,0 +1,32 @@ +--- Makefile.orig Wed Sep 18 00:41:36 2002 ++++ Makefile Tue Mar 25 23:20:18 2003 +@@ -3,9 +3,9 @@ + # for details + + # Linux 2.4 +-OS_CFLAGS=-DNEED_PTY_H ++#OS_CFLAGS=-DNEED_PTY_H + # FreeBSD, version unknown +-#OS_CFLAGS=-DNEED_LIBUTIL_H ++OS_CFLAGS=-DNEED_LIBUTIL_H + # Solaris, some version of + #OS_CFLAGS=-DNEED_STRINGS_H -DNEED_LOCAL_FORKPTY_H + +@@ -19,7 +19,7 @@ + # no forkpty in Solaris + # OS_OBJECTS=forkpty.o + +-INSTALL_DIR=/usr/local/bin ++INSTALL_DIR=${PREFIX}/bin + + # You probably don't need to edit anything below this line + +@@ -31,7 +31,7 @@ + -rm *.o *~ attachtty detachtty + + install: all +- install detachtty attachtty $(DESTDIR)$(INSTALL_DIR) ++ install detachtty attachtty $(INSTALL_DIR) + + deb: + rm -rf /usr/local/src/Packages/detachtty/ diff --git a/misc/detachtty/pkg-descr b/misc/detachtty/pkg-descr new file mode 100644 index 000000000000..fd0fbb505f9a --- /dev/null +++ b/misc/detachtty/pkg-descr @@ -0,0 +1,9 @@ +detachtty is a Unix utility that lets you run interactive programs +non-interactively, and connect to them over the network when you do +need to interact with them. It's intended for use with long-running +server processes running in Common Lisp implementations. + +WWW: http://www.cliki.net/detachtty + +- Johannes Groedem +johs@copyleft.no diff --git a/misc/detachtty/pkg-plist b/misc/detachtty/pkg-plist new file mode 100644 index 000000000000..832d48e64000 --- /dev/null +++ b/misc/detachtty/pkg-plist @@ -0,0 +1,2 @@ +bin/attachtty +bin/detachtty |