1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/science/sigrok-firmware-utils/Makefile
John Marino 7b05344a71 Add new port: science/sigrok-firmware-utils
PR:		188808
Submitted by:	uffer

      ===============================================================

The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source signal analysis software suite that supports
various device types, such as logic analyzers, MSOs, oscilloscopes,
multimeters, LCR meters, sound level meters, thermometers, hygrometers,
anemometers, light meters, DAQs, dataloggers, function generators,
spectrum analyzers, power supplies, GPIB interfaces, and more.
2014-08-03 22:09:07 +00:00

44 lines
975 B
Makefile

# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$
PORTNAME= firmware
PORTVERSION= 20140418
CATEGORIES= science
MASTER_SITES= #none
PKGNAMEPREFIX= sigrok-
PKGNAMESUFFIX= -utils
DISTFILES= #none
MAINTAINER= uffe@uffe.org
COMMENT= Sigrok firmware extraction utils
LICENSE= GPLv2
USE_PYTHON= 3
NO_BUILD= yes
PORTDOCS= README.parsepe
PY_FILES= parsepe.py parseelf.py
EX_FILES= sigrok-fwextract-hantek-dso \
sigrok-fwextract-saleae-logic16 \
sigrok-fwextract-sysclk-lwla
PLIST_FILES= ${PY_FILES:S,^,bin/,} \
${EX_FILES:S,^,bin/,} \
${EX_FILES:S,^,man/man1/,:S,$,.1.gz,}
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${FILESDIR}/README.parsepe ${STAGEDIR}${DOCSDIR}
.for fil in ${PY_FILES}
${INSTALL_SCRIPT} ${FILESDIR}/${fil} ${STAGEDIR}${PREFIX}/bin
.endfor
.for fil in ${EX_FILES}
${INSTALL_SCRIPT} ${FILESDIR}/${fil} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/${fil}.1 ${STAGEDIR}${MANDIRS}/man1
.endfor
.include <bsd.port.mk>