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 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 </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 < install.sh <