diff options
author | jseger <jseger@FreeBSD.org> | 1998-12-24 21:49:52 +0800 |
---|---|---|
committer | jseger <jseger@FreeBSD.org> | 1998-12-24 21:49:52 +0800 |
commit | 7b07ebc9b753613032e4c1df2247b76b394a7861 (patch) | |
tree | 288d97c96e0f44e679ea9693640fc68c7624d1c3 | |
parent | 8eaefc6c630cae53858c3abbee2c6d7db01c86e6 (diff) | |
download | freebsd-ports-gnome-7b07ebc9b753613032e4c1df2247b76b394a7861.tar.gz freebsd-ports-gnome-7b07ebc9b753613032e4c1df2247b76b394a7861.tar.zst freebsd-ports-gnome-7b07ebc9b753613032e4c1df2247b76b394a7861.zip |
Import of tcb v1.4a
Tcb is a file viewer that works on a terminal. It allows
view file in ASCII or HEX format.
PR: ports/8911
Submitted by: andy@icc.surw.chel.su
-rw-r--r-- | misc/tcb/Makefile | 35 | ||||
-rw-r--r-- | misc/tcb/distinfo | 1 | ||||
-rw-r--r-- | misc/tcb/files/patch-aa | 39 | ||||
-rw-r--r-- | misc/tcb/pkg-comment | 1 | ||||
-rw-r--r-- | misc/tcb/pkg-descr | 4 | ||||
-rw-r--r-- | misc/tcb/pkg-plist | 8 |
6 files changed, 88 insertions, 0 deletions
diff --git a/misc/tcb/Makefile b/misc/tcb/Makefile new file mode 100644 index 000000000000..c8d7f78584cf --- /dev/null +++ b/misc/tcb/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: tcb +# Version required: 1.4a +# Date created: 1 December 1998 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= tcb-1.4a +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SUNSITE} \ + http://www.osk.3web.ne.jp/~moody/tcbj/ +MASTER_SITE_SUBDIR= utils/file + +MAINTAINER= andy@icc.surw.chel.su + +USE_GMAKE= yes + +MAN1= tcb.1 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${PREFIX}/bin + @ ${MKDIR} ${PREFIX}/share/tcb + @ ${INSTALL_DATA} ${WRKSRC}/tcbrc ${PREFIX}/share/tcb + @ ${INSTALL_DATA} ${WRKSRC}/doc/HELP ${PREFIX}/share/tcb + @ ${INSTALL_MAN} ${WRKSRC}/doc/tcb.1 ${PREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/tcb + @ ${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${PREFIX}/share/doc/tcb + @ ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${PREFIX}/share/doc/tcb + @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tcb +.endif + +.include <bsd.port.mk> diff --git a/misc/tcb/distinfo b/misc/tcb/distinfo new file mode 100644 index 000000000000..8b3911dbfb32 --- /dev/null +++ b/misc/tcb/distinfo @@ -0,0 +1 @@ +MD5 (tcb-1.4a.tar.gz) = 6f4888ed656aacaf718d2a72d17e0b91 diff --git a/misc/tcb/files/patch-aa b/misc/tcb/files/patch-aa new file mode 100644 index 000000000000..e3e973bddd31 --- /dev/null +++ b/misc/tcb/files/patch-aa @@ -0,0 +1,39 @@ +--- config.sh.orig Mon Nov 23 09:51:15 1998 ++++ config.sh Thu Dec 24 08:41:14 1998 +@@ -56,20 +56,24 @@ + fi + fi + ++if [ `uname` = FreeBSD ]; then # FreeBSD ++LIB=$USR_DIR/share/$TCB ++else + LIB=$USR_DIR/lib/$TCB ++fi + BIN=$USR_DIR/bin + MAN=$USR_DIR/man/man1 + + cat >> .config <<EOF +-CC= gcc ++CC?= gcc + #CFLAGS= -Wall -O2 -g +-CFLAGS= -Wall -O2 ++CFLAGS?= -Wall -O2 + #LDFLAGS= + LDFLAGS= -s + OBJS= alloc.o child.o code.o disp.o fork.o init.o key.o menu.o \\ + mode.o scroll.o shell.o str.o sub.o tc.o tcb.o vt.o + EOF +-if which grep >/dev/null && make -v 2>&1|grep 'GNU Make' >/dev/null 2>&1 && which sed >/dev/null; then ++if which grep >/dev/null && gmake -v 2>&1|grep 'GNU Make' >/dev/null 2>&1 && which sed >/dev/null; then + cat >> .config <<EOF + PROT= mode.P tc.P tcb.P + +@@ -113,7 +117,7 @@ + + cat > install.sh <<EOF + #! /bin/sh +-cd src; make; cd .. ++cd src; gmake; cd .. + echo 'Installing tcb:' + mkdir -p \$1$BIN + mkdir -p \$1$LIB diff --git a/misc/tcb/pkg-comment b/misc/tcb/pkg-comment new file mode 100644 index 000000000000..df35ba2334e3 --- /dev/null +++ b/misc/tcb/pkg-comment @@ -0,0 +1 @@ +File viewer for terminal. diff --git a/misc/tcb/pkg-descr b/misc/tcb/pkg-descr new file mode 100644 index 000000000000..5eae704085b7 --- /dev/null +++ b/misc/tcb/pkg-descr @@ -0,0 +1,4 @@ +Tcb is a file viewer that works on a terminal. It allows +view file in ASCII or HEX format. + +http://www.osk.3web.ne.jp/~moody/tcbj diff --git a/misc/tcb/pkg-plist b/misc/tcb/pkg-plist new file mode 100644 index 000000000000..83e21688e4e4 --- /dev/null +++ b/misc/tcb/pkg-plist @@ -0,0 +1,8 @@ +bin/tcb +share/doc/tcb/CHANGES +share/doc/tcb/COPYING +share/doc/tcb/README +share/tcb/HELP +share/tcb/tcbrc +@dirrm share/doc/tcb +@dirrm share/tcb |