aboutsummaryrefslogtreecommitdiffstats
path: root/lang/TenDRA/Makefile
blob: d70bdeb8f0928b9cf5bade8228e4ddb27adf78c8 (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
# 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.20030526
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.tendra.org/pub/snapshot/
DISTNAME=   ${PORTNAME:L}-${PORTVERSION:S/4.//}

MAINTAINER= stefan@fafoe.narf.at
COMMENT=    A portable BSD-licensed compiler suite

ONLY_FOR_ARCHS= i386

WRKSRC=     ${WRKDIR}/${PORTNAME:L}
USE_BZIP2=  yes
USE_PERL5_BUILD=    yes
ALL_TARGET= # nada

TENDRA_OSREL!=  uname -r
TENDRA_ARCH=    80x86
TENDRA_VER= 5.0.0
TENDRA_PATH=    ${TENDRA_VER}/FreeBSD/${TENDRA_OSREL}/${TENDRA_ARCH}
PLIST_SUB+= TENDRA_VER=${TENDRA_VER} TENDRA_OSREL=${TENDRA_OSREL} \
        TENDRA_PATH=${TENDRA_PATH}

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

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/${TENDRA_PATH}/lib/machines/tokens

.include <bsd.port.mk>