freebsd-ports/devel/lm4tools/Makefile
Mathieu Arnold c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00

37 lines
976 B
Makefile

# $FreeBSD$
PORTNAME= lm4tools
PORTVERSION= 0.1.3
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= lev@FreeBSD.org
COMMENT= TI Tiva C ARM microcontroller tools
LICENSE= GPLv2 BSD3CLAUSE
LICENSE_COMB= multi
USE_GITHUB= yes
GH_ACCOUNT= utzig
GH_TAGNAME= 1cfd813
USES= gmake
PORTDOCS= README.md \
lmicdiusb/commands.txt lmicdiusb/README
PLIST_FILES= bin/lm4flash bin/lmicdi
do-build:
@${MAKE_CMD} -C ${WRKSRC}/lm4flash all
@${MAKE_CMD} -C ${WRKSRC}/lmicdiusb all
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lm4flash/lm4flash ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/lmicdiusb/lmicdi ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README.md
${MKDIR} ${STAGEDIR}${DOCSDIR}/lmicdiusb
${INSTALL_DATA} ${WRKSRC}/lmicdiusb/commands.txt ${STAGEDIR}${DOCSDIR}/lmicdiusb/commands.txt
${INSTALL_DATA} ${WRKSRC}/lmicdiusb/README ${STAGEDIR}${DOCSDIR}/lmicdiusb/README
.include <bsd.port.mk>