1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/devel/msp430-libc/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: msp430-libc
# Date created: 15 October 2002
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD$
#
PORTNAME= libc
PORTVERSION= 1.0.20050912
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://lev.serebryakov.spb.ru/download/msp430/
PKGNAMEPREFIX= msp430-
DISTFILES= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= lev@FreeBSD.org
COMMENT= Libc for TI's msp430 MCUs cross-development
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}/src
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
PLIST_SUB+= LIBC_TARG=${PKGNAMEPREFIX:S/-$//}
post-configure:
${REINPLACE_CMD} "s|prefix = /usr/local/msp430|prefix = ${PREFIX}|" ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
@tar --exclude CVS -C ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} -cf - doc | \
tar -xf - -C ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
@tar --exclude CVS -C ${WRKDIR} -cf - examples | \
tar -xf - -C ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
.include <bsd.port.mk>