2020-01-06 01:23:18 +01:00
|
|
|
PORTNAME= ujprog
|
|
|
|
DISTVERSION= g20191117
|
2022-08-12 16:46:53 +02:00
|
|
|
PORTREVISION= 1
|
2020-01-06 07:20:23 +01:00
|
|
|
CATEGORIES= comms
|
2020-01-06 01:23:18 +01:00
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= ULX2S/ULX3S FPGA JTAG programmer
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/f32c/tools/tree/master/ujprog
|
2020-01-06 01:23:18 +01:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
|
|
|
LIB_DEPENDS= libftdi.so:devel/libftdi
|
|
|
|
|
|
|
|
USES= gmake
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= f32c
|
|
|
|
GH_PROJECT= tools
|
|
|
|
GH_TAGNAME= 0698352b0e912caa9b8371b8f692e19aac547a69
|
2020-01-07 05:43:28 +01:00
|
|
|
USE_CSTD= c99
|
2020-01-06 01:23:18 +01:00
|
|
|
|
|
|
|
ALL_TARGET= ujprog flash
|
|
|
|
|
|
|
|
WRKSRC_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAKEFILE= Makefile.bsd
|
|
|
|
|
|
|
|
MAKE_ARGS= INCLUDES="`libftdi-config --cflags`" FTLIB="`libftdi-config --libs`"
|
|
|
|
|
|
|
|
PLIST_FILES= bin/ujprog \
|
|
|
|
bin/ft232r_flash
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ujprog ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ft232r_flash ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|