aboutsummaryrefslogtreecommitdiffstats
path: root/lang/t3x/Makefile
blob: 180b37e5b249ec4bda895a04cbfd8a61b1810abd (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
# Created by: Nils M Holm <nmh@t3x.org>
# $FreeBSD$

PORTNAME=   t3x
PORTVERSION=    8.1.5
PORTREVISION=   1
CATEGORIES= lang devel
MASTER_SITES=   http://www.t3x.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}

NO_STAGE=   yes
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>