aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tigcc/Makefile
blob: 5d39e8f0006cbf9e773f6c90f5a89a191a938a11 (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
# New ports collection makefile for:    tigcc
# Date created:     15 February 2004
# Whom:         Ben Haga <tuximus@tuximus.mine.nu>
#
# $FreeBSD$
#

PORTNAME=   tigcc
PORTVERSION=    0.96.b5
CATEGORIES= devel
MASTER_SITES=   http://tigcc.ticalc.org/sources/:src \
        http://tigcc.ticalc.org/linux/:linux
DISTNAME=   tigcc_src
DISTFILES=  tigcc_src.tar.bz2:linux gcc-3.3.3.tar.bz2:src gas-2.14.tar.bz2:src

MAINTAINER= gkovesdan@t-hosting.hu
COMMENT=    C compiler for the TI89, 92, and 92+ calculators

BUILD_DEPENDS=  cdialog:${PORTSDIR}/devel/cdialog \
        bash:${PORTSDIR}/shells/bash2

BROKEN=     Size mismatch

IS_INTERACTIVE= yes
USE_BZIP2=  yes
USE_REINPLACE=  yes
NO_WRKSUBDIR=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' ${WRKSRC}/scripts/Install

do-build:
    (cd ${WRKSRC}/; \
    ${MKDIR} download; \
    ${CP} ${DISTDIR}/gcc-3.3.3.tar.bz2 ${DISTDIR}/gas-2.14.tar.bz2 download; \
    cd download; \
    ${TAR} yxf gas-2.14.tar.bz2; \
    ${TAR} yxf gcc-3.3.3.tar.bz2; \
    ${LN} -s binutils-2.14 binutils.ti)

do-install:
    (cd ${WRKSRC}/scripts; ./Install)

.include <bsd.port.mk>