freebsd-ports/science/sigrok-firmware-fx2lafw/Makefile
Baptiste Daroussin 9871c1a3c7 cleanup plist
2014-12-20 19:35:10 +00:00

40 lines
1 KiB
Makefile

# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$
PORTNAME= firmware
PORTVERSION= 0.1.2
CATEGORIES= science
MASTER_SITES= http://sigrok.org/download/binary/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}/
PKGNAMEPREFIX= sigrok-
PKGNAMESUFFIX= -fx2lafw
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-bin-${PORTVERSION}
MAINTAINER= uffe@uffe.org
COMMENT= Cypress FX2 firmware for hardware logic analyzers
LICENSE= GPLv2
NO_BUILD= yes
FW_FILES= fx2lafw-braintechnology-usb-lps.fw \
fx2lafw-cwav-usbeeax.fw \
fx2lafw-cwav-usbeedx.fw \
fx2lafw-cwav-usbeesx.fw \
fx2lafw-cypress-fx2.fw \
fx2lafw-saleae-logic.fw
PORTDOCS= README NEWS
PLIST_FILES= ${FW_FILES:S,^,share/sigrok-firmware/,}
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README NEWS
${INSTALL_MAN} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/share/sigrok-firmware
.for fwfile in ${FW_FILES}
${INSTALL_DATA} ${WRKSRC}/${fwfile} \
${STAGEDIR}${PREFIX}/share/sigrok-firmware/
.endfor
.include <bsd.port.mk>