aboutsummaryrefslogtreecommitdiff
path: root/science/sigrok-firmware
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2015-03-03 12:32:36 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2015-03-03 12:32:36 +0000
commitb092a458424b77fcebaa1ada2e93a6ca6ab44b7c (patch)
tree066236723b92f48c1e1a1b09d8fad90c413b0e06 /science/sigrok-firmware
parent811665bedd5034074ad5016da63be99648ab1d7a (diff)
downloadports-b092a458424b77fcebaa1ada2e93a6ca6ab44b7c.tar.gz
ports-b092a458424b77fcebaa1ada2e93a6ca6ab44b7c.zip
science/sigrok-firmware: update 20140418 -> 20150123
- Add distinfo - Use GitHub - Adjust COMMENT and pkg-descr text PR: 198010 Submitted by: Uffe Jakobsen <uffe@uffe.org>
Notes
Notes: svn path=/head/; revision=380356
Diffstat (limited to 'science/sigrok-firmware')
-rw-r--r--science/sigrok-firmware/Makefile34
-rw-r--r--science/sigrok-firmware/distinfo2
-rw-r--r--science/sigrok-firmware/pkg-descr11
3 files changed, 33 insertions, 14 deletions
diff --git a/science/sigrok-firmware/Makefile b/science/sigrok-firmware/Makefile
index 0bce6e54137f..416b51e50aba 100644
--- a/science/sigrok-firmware/Makefile
+++ b/science/sigrok-firmware/Makefile
@@ -2,21 +2,39 @@
# $FreeBSD$
PORTNAME= firmware
-PORTVERSION= 20140418
+PORTVERSION= 20150123
CATEGORIES= science
-MASTER_SITES= #none
PKGNAMEPREFIX= sigrok-
-DISTFILES= #none
MAINTAINER= uffe@uffe.org
-COMMENT= Meta package for sigrok firmware packages
+COMMENT= Sigrok firmware
RUN_DEPENDS= parseelf.py:${PORTSDIR}/science/sigrok-firmware-utils \
${LOCALBASE}/share/sigrok-firmware/fx2lafw-cypress-fx2.fw:${PORTSDIR}/science/sigrok-firmware-fx2lafw
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-NO_MTREE= yes
-NO_INSTALL= yes
+USE_GITHUB= yes
+GH_ACCOUNT= uffejakobsen
+GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 2632d74
+
+GNU_CONFIGURE=yes
+
+USE_AUTOTOOLS= libtoolize autoconf autoheader automake aclocal
+
+AUTOMAKE_ARGS= --add-missing
+
+USES= 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>
diff --git a/science/sigrok-firmware/distinfo b/science/sigrok-firmware/distinfo
new file mode 100644
index 000000000000..8bcc6a10f17b
--- /dev/null
+++ b/science/sigrok-firmware/distinfo
@@ -0,0 +1,2 @@
+SHA256 (firmware-20150123.tar.gz) = f18bd15252c692f1d23d88856f7367ab4baf7d51be1f936dafe789823df59014
+SIZE (firmware-20150123.tar.gz) = 372291
diff --git a/science/sigrok-firmware/pkg-descr b/science/sigrok-firmware/pkg-descr
index dcee66b9525d..287e10539d54 100644
--- a/science/sigrok-firmware/pkg-descr
+++ b/science/sigrok-firmware/pkg-descr
@@ -1,8 +1,7 @@
-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.
+sigrok-firmware is a collection of firmware files required for some of the
+devices libsigrok supports (logic analyzers, oscilloscopes, or others).
+
+We only carry firmware files for which we have an explicit permission/license
+that allows at _least_ redistribution of the firmware.
WWW: http://www.sigrok.org/wiki/Firmware