mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
3cde444efd
Approved by: portmgr (krion)
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: TenDRA
|
|
# Date created: 7 Apr 1998
|
|
# Whom: Robert Nordier <rnordier@iafrica.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= TenDRA
|
|
PORTVERSION= 4.20050810
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.ten15.org/pub/snapshot/
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/4.//}
|
|
|
|
MAINTAINER= stefanf@FreeBSD.org
|
|
COMMENT= A portable BSD-licensed compiler suite
|
|
|
|
CONFLICTS= swi-pl* slffea-*
|
|
ONLY_FOR_ARCHS= i386 alpha
|
|
|
|
DIST_SUBDIR= ${PKGBASE}
|
|
MANCOMPRESSED= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:L}
|
|
USE_BZIP2= yes
|
|
ALL_TARGET= # nada
|
|
MAKE_ARGS= BIN_CC="${CC}"
|
|
|
|
TENDRA_ARCH= ${ARCH:S/i386/80x86/}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
PLIST_SUB+= ONLY_FOR_I386=""
|
|
.else
|
|
PLIST_SUB+= ONLY_FOR_I386="@comment "
|
|
.endif
|
|
|
|
MAN1= calculus.1 disp.1 lexi.1 pl.1 sid.1 tcc.1 tchk.1 \
|
|
tcpplus.1 tdfc2.1 tld.1 tnc.1 tspec.1 \
|
|
#${TENDRA_ARCH}.freebsd.trans.1
|
|
MAN5= tccenv.5
|
|
|
|
pre-extract:
|
|
@if [ -n "$${MAKEOBJDIRPREFIX}" ]; then \
|
|
${ECHO_MSG} "Please unset MAKEOBJDIRPREFIX in your " \
|
|
"environment, TenDRA won't compile otherwise."; \
|
|
exit 1; \
|
|
fi
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && make PREFIX=${PREFIX} freebsd
|
|
|
|
# Remove empty directory that is ugly to handle with pkg-plist
|
|
post-install:
|
|
${RMDIR} ${PREFIX}/lib/TenDRA/lib/machines/tokens
|
|
|
|
.include <bsd.port.post.mk>
|