diff options
Diffstat (limited to 'devel/msp430mcu')
-rw-r--r-- | devel/msp430mcu/Makefile | 40 | ||||
-rw-r--r-- | devel/msp430mcu/distinfo | 2 | ||||
-rw-r--r-- | devel/msp430mcu/pkg-descr | 8 |
3 files changed, 50 insertions, 0 deletions
diff --git a/devel/msp430mcu/Makefile b/devel/msp430mcu/Makefile new file mode 100644 index 000000000000..a401bfe24396 --- /dev/null +++ b/devel/msp430mcu/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: msp430mcu +# Date created: 22 June 2011 +# Whom: Lev Serebryakov <lev@serebryakov.spb.ru> +# +# $FreeBSD$ +# + +PORTNAME= ${MCUTARGET}mcu +PORTVERSION= 1.0.${MCUVERSION} +CATEGORIES= devel +MASTER_SITES= SF/mspgcc/${PORTNAME} +DISTFILES= ${PORTNAME}-${MCUVERSION}${EXTRACT_SUFX} + +MAINTAINER= lev@FreeBSD.org +COMMENT= Header files for TI's msp430 MCUs cross-development + +MCUVERSION= 20110613 +MCUTARGET= msp430 + +USE_BZIP2= yes +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-${MCUVERSION} +PLIST= ${WRKDIR}/.PLIST + +MCUINCPATH= ${MCUTARGET}/include +MCULIBPATH= ${MCUTARGET}/lib + +pre-install: + @cd ${WRKSRC} && ${FIND} upstream include -name '*.h' | ${SORT} | ${SED} -E 's,^[^/]+/,${MCUINCPATH}/,' > ${PLIST} + @${ECHO} ${MCULIBPATH}/msp430mcu.spec >> ${PLIST} + @cd ${WRKSRC}/analysis/ldscripts && ${FIND} . ! -type d | ${SORT} | ${SED} 's,^.,${MCULIBPATH}/ldscripts,' >> ${PLIST} + @cd ${WRKSRC}/analysis/ldscripts && ${FIND} . -type d ! -name '.' | ${SORT} -r | ${SED} 's,^.,@dirrm ${MCULIBPATH}/ldscripts,' >> ${PLIST} + @${ECHO} "@dirrm ${MCUINCPATH}" >> ${PLIST} + + +do-install: + @cd ${WRKSRC} && MSP430MCU_ROOT=${WRKSRC} sh scripts/install.sh ${PREFIX} + +.include <bsd.port.mk> diff --git a/devel/msp430mcu/distinfo b/devel/msp430mcu/distinfo new file mode 100644 index 000000000000..7bbc9a55852b --- /dev/null +++ b/devel/msp430mcu/distinfo @@ -0,0 +1,2 @@ +SHA256 (msp430mcu-20110613.tar.bz2) = 954abc20d3997c8b6f63abcd7c683034b26435c537c0aa086c94e13d95e1b004 +SIZE (msp430mcu-20110613.tar.bz2) = 3014406 diff --git a/devel/msp430mcu/pkg-descr b/devel/msp430mcu/pkg-descr new file mode 100644 index 000000000000..eb4de7b1ed99 --- /dev/null +++ b/devel/msp430mcu/pkg-descr @@ -0,0 +1,8 @@ +Header files for TI's msp430 MCUs cross-development + + This port installs msp430mcu - platform header files + and linking scripts for msp430-gcc and msp430-binutil. + +MSP430 site: http://www.ti.com/msp430/ + +WWW: http://mspgcc.sourceforge.net/ |