1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/misc/fxload/Makefile
Max Brazhnikov 8797731b60 Add new port misc/fxload:
The utility allows you to download firmware into and upload firmware from
the memory of a Cypress EZ-USB/FX2 chip. It is a de facto standard for
programming this family of devices.

Port is based on original fxload(8) program available from Linux Hotplug
Project. Libusb support has been provided to correctly work on FreeBSD.

WWW:	http://FreeBSD.czest.pl/~wkoszek/fxload/

PR:		ports/146577
Submitted by:	wkoszek@
2010-05-15 19:41:48 +00:00

38 lines
871 B
Makefile

# New ports collection makefile for: fxload
# Date created: 10 May 2010
# Whom: 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
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>