blob: bb01d43514f739a505a865a41ab5b42e292088df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Aragon Gouveia <aragon@phat.za.net>
# $FreeBSD$
PORTNAME= madfufw
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/usb-midi-fw/madfu-firmware/1.2/
DISTNAME= madfuload-1.2
MAINTAINER= ports@FreeBSD.org
COMMENT= M-Audio DFU Firmware for Transit, Ozone, Sonica, MobilePre
RUN_DEPENDS= ${LOCALBASE}/bin/dfu-util:${PORTSDIR}/comms/dfu-util
WRKSRC= ${WRKDIR}/madfuload-1.2
PLIST_FILES= share/maudio/ma003101.bin \
share/maudio/ma004103.bin \
share/maudio/ma005101.bin \
share/maudio/ma006100.bin \
share/maudio/ma008100.bin \
etc/devd/maudio-devd.conf
PLIST_DIRS= share/maudio
USE_RC_SUBR= maudio
SUB_FILES= maudio-devd.conf pkg-message
NO_BUILD= yes
NO_PACKAGE= redistribution of firmware files not permitted
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800064
BROKEN= port requires FreeBSD 8.x
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/maudio
${INSTALL_DATA} ${WRKSRC}/ma003101.bin ${WRKSRC}/ma004103.bin \
${WRKSRC}/ma005101.bin ${WRKSRC}/ma006100.bin \
${WRKSRC}/ma008100.bin ${STAGEDIR}${PREFIX}/share/maudio
${INSTALL_DATA} ${WRKDIR}/maudio-devd.conf ${STAGEDIR}${PREFIX}/etc/devd
.include <bsd.port.post.mk>
|