1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/science/sigrok-firmware/Makefile
2021-04-06 16:31:07 +02:00

35 lines
991 B
Makefile

# Created by: Uffe Jakobsen <uffe@uffe.org>
PORTNAME= firmware
PORTVERSION= 20150123
CATEGORIES= science
PKGNAMEPREFIX= sigrok-
MAINTAINER= bsam@FreeBSD.org
COMMENT= Sigrok firmware
RUN_DEPENDS= parseelf.py:science/sigrok-firmware-utils \
${LOCALBASE}/share/sigrok-firmware/fx2lafw-cypress-fx2.fw:science/sigrok-firmware-fx2lafw
USE_GITHUB= yes
GH_ACCOUNT= uffejakobsen
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
GH_TAGNAME= 2632d74
GNU_CONFIGURE=yes
USES= autoreconf gmake
FW_FILES= \
LICENSE.Sigma asix-sigma-100.fw asix-sigma-200.fw asix-sigma-50.fw asix-sigma-50sync.fw \
LICENSE.LWLA sysclk-lwla1034-extneg.rbf sysclk-lwla1034-extpos.rbf sysclk-lwla1034-int.rbf sysclk-lwla1034-off.rbf
PLIST_FILES= \
${FW_FILES:S,^,share/sigrok-firmware/,} \
post-install:
${INSTALL_DATA} ${WRKSRC}/asix-sigma/LICENSE.Sigma ${STAGEDIR}${PREFIX}/share/sigrok-firmware
${INSTALL_DATA} ${WRKSRC}/sysclk-lwla/LICENSE.LWLA ${STAGEDIR}${PREFIX}/share/sigrok-firmware
.include <bsd.port.mk>