2000-10-08 17:33:20 +00:00
|
|
|
# ex:ts=8
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
# New ports collection makefile for: TenDRA
|
|
|
|
# Date created: 7 Apr 1998
|
|
|
|
# Whom: Robert Nordier <rnordier@iafrica.com>
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= TenDRA
|
|
|
|
PORTVERSION= 4.1.2
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
CATEGORIES= lang
|
2000-08-07 18:51:02 +00:00
|
|
|
MASTER_SITES= ftp://ftp.uni-trier.de/pub/languages/c/implementation/TenDRA/ \
|
|
|
|
ftp://ftp.fh-wiesbaden.de/pub/Languages/C/TenDRA/ \
|
|
|
|
ftp://ftp.mayn.de/pub/unix/devel/compiler/tendra/
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
|
2000-10-08 17:33:20 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
|
2000-07-03 02:52:33 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400000
|
2000-07-02 22:08:38 +00:00
|
|
|
BROKEN= "Does not compile."
|
2000-07-03 02:52:33 +00:00
|
|
|
.endif
|
2000-07-02 22:08:38 +00:00
|
|
|
|
1999-07-04 20:48:00 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
1999-07-07 08:10:34 +00:00
|
|
|
OSRELEASE!= uname -r
|
|
|
|
PLIST_SUB= OSRELEASE=${OSRELEASE}
|
1999-07-04 20:48:00 +00:00
|
|
|
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
MAN1= calculus.1 disp.1 lexi.1 pl.1 sid.1 tcc.1 tchk.1 \
|
|
|
|
tcpplus.1 tdfc2.1 tld.1 tnc.1 trans.1 tspec.1
|
|
|
|
MAN5= tccenv.5
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@(cd ${WRKSRC} && \
|
|
|
|
${MKDIR} bin lib man && \
|
|
|
|
${SED} -e 's:^\(BASE_DIR=\).*:\1${WRKSRC}:' \
|
|
|
|
-e 's:^\(PUBLIC_BIN=\).*:\1$${BASE_DIR}/bin:' \
|
|
|
|
-e 's:^\(INSTALL_DIR=\).*:\1$${BASE_DIR}/lib/TenDRA:' \
|
|
|
|
-e 's:^\(MAN_DIR=\).*:\1$${BASE_DIR}/man:' \
|
|
|
|
-e 's:completed:to build directory completed:' \
|
|
|
|
INSTALL >INSTALL.build && \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} a+x INSTALL.build && \
|
|
|
|
${CHMOD} a-x INSTALL)
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(PATH=${WRKSRC}/bin:$$PATH && \
|
|
|
|
cd ${WRKSRC} && \
|
1998-06-09 13:21:03 +00:00
|
|
|
./INSTALL.build)
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
@${ECHO} "Bootstrapping the compiler ..."
|
|
|
|
@${RM} -fr ${WRKSRC}/work
|
|
|
|
@(PATH=${WRKSRC}/bin:$$PATH && \
|
|
|
|
cd ${WRKSRC} && \
|
1998-06-09 13:21:03 +00:00
|
|
|
./INSTALL.build -tcc)
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@(cd ${WRKSRC} && \
|
|
|
|
${SED} -e 's:^\(BASE_DIR=\).*:\1${WRKSRC}:' \
|
|
|
|
-e 's:^\(PUBLIC_BIN=\).*:\1${PREFIX}/bin:' \
|
|
|
|
-e 's:^\(INSTALL_DIR=\).*:\1${PREFIX}/lib/TenDRA:' \
|
|
|
|
-e 's:^\(MAN_DIR=\).*:\1${PREFIX}/man:' \
|
|
|
|
INSTALL >INSTALL.install && \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} a+x INSTALL.install)
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
|
1999-07-07 22:42:54 +00:00
|
|
|
do-install:
|
|
|
|
|
|
|
|
post-install:
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/TenDRA
|
|
|
|
@(PATH=${WRKSRC}/bin:$$PATH && \
|
|
|
|
cd ${WRKSRC} && \
|
1998-06-09 13:21:03 +00:00
|
|
|
./INSTALL.install -tcc -strip)
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
@(cd ${PREFIX}/bin && \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} ${BINOWN}:${BINGRP} tcc tchk tspec && \
|
|
|
|
${CHMOD} ${BINMODE} tcc tchk tspec)
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
@(cd ${PREFIX} && \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} -R ${BINOWN}:${BINGRP} lib/TenDRA && \
|
|
|
|
find -X lib/TenDRA -type d | xargs ${CHMOD} 755 && \
|
|
|
|
${GREP} '^lib/' ${TMPPLIST} | xargs ${CHMOD} ${SHAREMODE} && \
|
|
|
|
${GREP} '/bin/' ${TMPPLIST} | xargs ${CHMOD} ${BINMODE})
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
@(cd ${PREFIX}/man/man1 && \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} ${MANOWN}:${MANGRP} ${MAN1} && \
|
|
|
|
${CHMOD} ${MANMODE} ${MAN1})
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
@(cd ${PREFIX}/man/man5 && \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} ${MANOWN}:${MANGRP} ${MAN5} && \
|
|
|
|
${CHMOD} ${MANMODE} ${MAN5})
|
reimport of TenDRA, move it into lang like it was suppose to be...
TenDRA* is an optimizing C/C++ compiler, developed by the United
Kingdom Defence Evaluation and Research Agency (DERA).
A primary focus of the compiler is portability through conformance
to standard APIs (ANSI, ISO, POSIX1, POSIX2, XPG3, XPG4, SVID3,
UNIX95, among others).
The compiler has strong static checking capabilities, including the
ability to check programs for conformance to APIs which are not
directly supported by system headers.
-----
* TenDRA is a registered trademark of the UK Defence Evaluation
and Research Agency.
1998-04-13 00:09:29 +00:00
|
|
|
|
2000-07-03 02:52:33 +00:00
|
|
|
.include <bsd.port.post.mk>
|