mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +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.
This commit is contained in:
parent
a33461789b
commit
6a9dce55d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10501
77
lang/TenDRA/Makefile
Normal file
77
lang/TenDRA/Makefile
Normal file
@ -0,0 +1,77 @@
|
||||
# New ports collection makefile for: TenDRA
|
||||
# Version required: 4.1.2
|
||||
# Date created: 7 Apr 1998
|
||||
# Whom: Robert Nordier <rnordier@iafrica.com>
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= TenDRA-4.1.2
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ftp://alph.dera.gov.uk/pub/TenDRA/
|
||||
|
||||
MAINTAINER= rnordier@iafrica.com
|
||||
|
||||
OSREL!= uname -r
|
||||
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 && \
|
||||
chmod a+x INSTALL.build && \
|
||||
chmod a-x INSTALL)
|
||||
@${SED} 's:%OSREL%:${OSREL}:' ${PLIST} >${PLIST}.tmp && \
|
||||
${CP} ${PLIST} ${PLIST}.orig && \
|
||||
${MV} ${PLIST}.tmp ${PLIST}
|
||||
|
||||
do-build:
|
||||
@(PATH=${WRKSRC}/bin:$$PATH && \
|
||||
cd ${WRKSRC} && \
|
||||
./INSTALL.build 2>&1 | tee ${.CURDIR}/mklog && \
|
||||
${RM} -f ${.CURDIR}/mklog)
|
||||
@${ECHO} "Bootstrapping the compiler ..."
|
||||
@${RM} -fr ${WRKSRC}/work
|
||||
@(PATH=${WRKSRC}/bin:$$PATH && \
|
||||
cd ${WRKSRC} && \
|
||||
./INSTALL.build -tcc 2>&1 | tee ${.CURDIR}/mklog && \
|
||||
${RM} -f ${.CURDIR}/mklog)
|
||||
|
||||
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 && \
|
||||
chmod a+x INSTALL.install)
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/TenDRA
|
||||
@(PATH=${WRKSRC}/bin:$$PATH && \
|
||||
cd ${WRKSRC} && \
|
||||
./INSTALL.install -tcc -strip 2>&1 | tee ${.CURDIR}/mklog && \
|
||||
${RM} -f ${.CURDIR}/mklog)
|
||||
@(cd ${PREFIX}/bin && \
|
||||
chown ${BINOWN}:${BINGRP} tcc tchk tspec && \
|
||||
chmod ${BINMODE} tcc tchk tspec)
|
||||
@(cd ${PREFIX} && \
|
||||
chown -R ${BINOWN}:${BINGRP} lib/TenDRA && \
|
||||
find -X lib/TenDRA -type d | xargs chmod 755 && \
|
||||
${GREP} '^lib/' ${PLIST} | xargs chmod ${SHAREMODE} && \
|
||||
${GREP} '/bin/' ${PLIST} | xargs chmod ${BINMODE})
|
||||
@(cd ${PREFIX}/man/man1 && \
|
||||
chown ${MANOWN}:${MANGRP} ${MAN1} && \
|
||||
chmod ${MANMODE} ${MAN1})
|
||||
@(cd ${PREFIX}/man/man5 && \
|
||||
chown ${MANOWN}:${MANGRP} ${MAN5} && \
|
||||
chmod ${MANMODE} ${MAN5})
|
||||
|
||||
.include <bsd.port.mk>
|
1
lang/TenDRA/distinfo
Normal file
1
lang/TenDRA/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (TenDRA-4.1.2.tar.gz) = 36c6732bf72c38f399961c239adbe922
|
1
lang/TenDRA/pkg-comment
Normal file
1
lang/TenDRA/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A mature, portable, optimizing C/C++ compiler
|
14
lang/TenDRA/pkg-descr
Normal file
14
lang/TenDRA/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
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.
|
1535
lang/TenDRA/pkg-plist
Normal file
1535
lang/TenDRA/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user