# New ports collection makefile for: tigcc # Date created: 15 February 2004 # Whom: Ben Haga # # $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