aboutsummaryrefslogtreecommitdiffstats
path: root/lang/t3x/Makefile
blob: 4acd5140806b631c3011c17148c7f514d11302b1 (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
# New ports collection makefile for:    t3x
# Date created:             15 October 2000
# Whom:                 Nils M Holm <nmh@t3x.org>
#
# $FreeBSD$
#

PORTNAME=   t3x
PORTVERSION=    8.1.5
CATEGORIES= lang devel
MASTER_SITES=   http://t3x.dyndns.org/files/
DISTNAME=   t3x-${PORTVERSION:S/.//g}

MAINTAINER= nmh@t3x.org
COMMENT=    A compiler for the minimum procedural language T3X

ONLY_FOR_ARCHS= i386

MAN7=       t3x.7
MANCOMPRESSED=  no

MAKE_ENV+=  INSTALL_PREFIX=${PREFIX}

do-configure:
    @(cd ${WRKSRC}/ports/freebsd-386-elf; ./Config boot)

do-build:
    @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
    @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} INSTALL_PREFIX=${WRKSRC}/test ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
    @(cd ${WRKSRC}; ${MAKE} allclean)
    @(cd ${WRKSRC}/ports/freebsd-386-elf; ./Config build)
    @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} T3XDIR=${WRKSRC}/test/t3x/r8 PATH=${PATH}:${WRKSRC}/test/bin ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})

.include <bsd.port.mk>