aboutsummaryrefslogtreecommitdiffstats
path: root/misc/fxload/Makefile
blob: f94cbefe6833f0db71a5e44cc5940af252313471 (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
# Created by: Wojciech A. Koszek <wkoszek@FreeBSD.org>
# $FreeBSD$

PORTNAME=   fxload
PORTVERSION=    20100510
CATEGORIES= misc
MASTER_SITES=   http://FreeBSD.czest.pl/~wkoszek/ports/

MAINTAINER= wkoszek@FreeBSD.org
COMMENT=    Firmware download to EZ-USB devices

MAN8=       fxload.8
USE_GMAKE=  yes
SUB_FILES=  pkg-message

NO_STAGE=   yes
do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fxload ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/fxload.8 ${PREFIX}/man/man8
    ${MKDIR} ${DATADIR}
    ${MKDIR} ${PREFIX}/etc/devd
    ${INSTALL_DATA} ${WRKSRC}/a3load.hex ${DATADIR}
    ${INSTALL_DATA} ${FILESDIR}/xilinx.conf ${PREFIX}/etc/devd

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.pre.mk>

.if (${OSVERSION} < 800069)
BROKEN= doesn't build on FreeBSD prior libusb(8) integration to base system
.endif

.include <bsd.port.post.mk>