Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 1998 09:03:11 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8911: New port: tcb-1.4a
Message-ID:  <199812010603.JAA00919@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         8911
>Category:       ports
>Synopsis:       New port: tcb-1.4a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 30 22:10:01 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

>Description:

   This is a port of tcb-1.4a, file viewer for terminal.
Tcb is a file viewer that works on a terminal. It allows
view file in ASCII or HEX format.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tcb-1.4a
#	tcb-1.4a/Makefile
#	tcb-1.4a/files
#	tcb-1.4a/files/md5
#	tcb-1.4a/patches
#	tcb-1.4a/patches/patch-aa
#	tcb-1.4a/pkg
#	tcb-1.4a/pkg/PLIST
#	tcb-1.4a/pkg/COMMENT
#	tcb-1.4a/pkg/DESCR
#
echo c - tcb-1.4a
mkdir -p tcb-1.4a > /dev/null 2>&1
echo x - tcb-1.4a/Makefile
sed 's/^X//' >tcb-1.4a/Makefile << 'END-of-tcb-1.4a/Makefile'
X# New ports collection makefile for:	tcb
X# Version required:			1.4a
X# Date created:				1 December 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		tcb-1.4a
XCATEGORIES=		misc
XMASTER_SITES=		${MASTER_SITE_SUNSITE} \
X			http://www.osk.3web.ne.jp/~moody/tcbj/
XMASTER_SITE_SUBDIR=	utils/file
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XMAN1=			tcb.1
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${PREFIX}/bin
X	@ ${MKDIR} ${PREFIX}/share/tcb
X	@ ${INSTALL_DATA} ${WRKSRC}/tcbrc ${PREFIX}/share/tcb
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/HELP ${PREFIX}/share/tcb
X	@ ${INSTALL_MAN} ${WRKSRC}/doc/tcb.1 ${PREFIX}/man/man1
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/tcb
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${PREFIX}/share/doc/tcb
X	@ ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${PREFIX}/share/doc/tcb
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tcb
X.endif
X
X.include <bsd.port.mk>
END-of-tcb-1.4a/Makefile
echo c - tcb-1.4a/files
mkdir -p tcb-1.4a/files > /dev/null 2>&1
echo x - tcb-1.4a/files/md5
sed 's/^X//' >tcb-1.4a/files/md5 << 'END-of-tcb-1.4a/files/md5'
XMD5 (tcb-1.4a.tar.gz) = 6f4888ed656aacaf718d2a72d17e0b91
END-of-tcb-1.4a/files/md5
echo c - tcb-1.4a/patches
mkdir -p tcb-1.4a/patches > /dev/null 2>&1
echo x - tcb-1.4a/patches/patch-aa
sed 's/^X//' >tcb-1.4a/patches/patch-aa << 'END-of-tcb-1.4a/patches/patch-aa'
X--- config.sh	Mon Nov 23 14:51:15 1998
X+++ /home/andy/tmp/wrk/config.sh	Mon Nov 30 23:25:28 1998
X@@ -56,14 +56,18 @@
X     fi
X fi
X 
X+if [ `uname` = FreeBSD ]; then	# FreeBSD
X+LIB=$USR_DIR/share/$TCB
X+else
X LIB=$USR_DIR/lib/$TCB
X+fi
X BIN=$USR_DIR/bin
X MAN=$USR_DIR/man/man1
X 
X cat >> .config <<EOF
X-CC=	gcc
X+CC?=	gcc
X #CFLAGS= -Wall -O2 -g
X-CFLAGS= -Wall -O2
X+CFLAGS?= -Wall -O2
X #LDFLAGS=
X LDFLAGS= -s
X OBJS=	alloc.o child.o code.o disp.o fork.o init.o key.o menu.o \\
END-of-tcb-1.4a/patches/patch-aa
echo c - tcb-1.4a/pkg
mkdir -p tcb-1.4a/pkg > /dev/null 2>&1
echo x - tcb-1.4a/pkg/PLIST
sed 's/^X//' >tcb-1.4a/pkg/PLIST << 'END-of-tcb-1.4a/pkg/PLIST'
Xbin/tcb
Xshare/doc/tcb/CHANGES
Xshare/doc/tcb/COPYING
Xshare/doc/tcb/README
Xshare/tcb/HELP
Xshare/tcb/tcbrc
X@dirrm share/doc/tcb
X@dirrm share/tcb
END-of-tcb-1.4a/pkg/PLIST
echo x - tcb-1.4a/pkg/COMMENT
sed 's/^X//' >tcb-1.4a/pkg/COMMENT << 'END-of-tcb-1.4a/pkg/COMMENT'
XFile viewer for terminal.
END-of-tcb-1.4a/pkg/COMMENT
echo x - tcb-1.4a/pkg/DESCR
sed 's/^X//' >tcb-1.4a/pkg/DESCR << 'END-of-tcb-1.4a/pkg/DESCR'
XTcb is a file viewer that works on a terminal. It allows
Xview file in ASCII or HEX format.
X
Xhttp://www.osk.3web.ne.jp/~moody/tcbj
END-of-tcb-1.4a/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812010603.JAA00919>