blob: 17bb1c9b3840939132a5f2889c0edf859c550442 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# 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>
|