svn commit: r544673 - in head/cad: . openfpgaloader openfpgaloader/files
Yuri Victorovich
yuri at FreeBSD.org
Tue Aug 11 08:29:54 UTC 2020
Author: yuri
Date: Tue Aug 11 08:29:53 2020
New Revision: 544673
URL: https://svnweb.freebsd.org/changeset/ports/544673
Log:
New port: cad/openfpgaloader: Universal utility for programming FPGA
Added:
head/cad/openfpgaloader/
head/cad/openfpgaloader/Makefile (contents, props changed)
head/cad/openfpgaloader/distinfo (contents, props changed)
head/cad/openfpgaloader/files/
head/cad/openfpgaloader/files/patch-CMakeLists.txt (contents, props changed)
head/cad/openfpgaloader/pkg-descr (contents, props changed)
Modified:
head/cad/Makefile
Modified: head/cad/Makefile
==============================================================================
--- head/cad/Makefile Tue Aug 11 08:05:10 2020 (r544672)
+++ head/cad/Makefile Tue Aug 11 08:29:53 2020 (r544673)
@@ -82,6 +82,7 @@
SUBDIR += nvc
SUBDIR += opencascade
SUBDIR += openctm
+ SUBDIR += openfpgaloader
SUBDIR += openscad
SUBDIR += openscad-devel
SUBDIR += opensta
Added: head/cad/openfpgaloader/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/openfpgaloader/Makefile Tue Aug 11 08:29:53 2020 (r544673)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= openfpgaloader
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1
+CATEGORIES= cad
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Universal utility for programming FPGA
+
+LICENSE= AGPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libargp.so:devel/argp-standalone \
+ libftdi1.so:devel/libftdi1 \
+ libudev.so:devel/libudev-devd
+
+USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= trabucayre
+GH_PROJECT= openFPGALoader
+
+PLIST_FILES= bin/openFPGALoader \
+ share/openFPGALoader/spiOverJtag_xc7a35.bit \
+ share/openFPGALoader/test_sfl.svf
+
+.include <bsd.port.mk>
Added: head/cad/openfpgaloader/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/openfpgaloader/distinfo Tue Aug 11 08:29:53 2020 (r544673)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1597129075
+SHA256 (trabucayre-openFPGALoader-v0.1_GH0.tar.gz) = a2445e3c1ec3a9e75b28cf48392e236f10cf5d64da724a9608c08fbecbee07bd
+SIZE (trabucayre-openFPGALoader-v0.1_GH0.tar.gz) = 123142
Added: head/cad/openfpgaloader/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/openfpgaloader/files/patch-CMakeLists.txt Tue Aug 11 08:29:53 2020 (r544673)
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.orig 2020-08-11 07:11:29 UTC
++++ CMakeLists.txt
+@@ -138,8 +138,8 @@ target_link_libraries(openFPGALoader ${LIBUDEV_LIBRARI
+ endif()
+
+ if(NOT HAVE_ARGP)
+- find_library(LIBARGPSTATIC libargp.a REQUIRED)
+- target_link_libraries(openFPGALoader ${LIBARGPSTATIC})
++ find_library(LIBARGP libargp.so REQUIRED)
++ target_link_libraries(openFPGALoader ${LIBARGP})
+ endif()
+
+ if (BUILD_STATIC)
Added: head/cad/openfpgaloader/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/openfpgaloader/pkg-descr Tue Aug 11 08:29:53 2020 (r544673)
@@ -0,0 +1,5 @@
+Universal utility for programming FPGA.
+
+It supports many FPGA development kits.
+
+WWW: https://github.com/trabucayre/openFPGALoader
More information about the svn-ports-head
mailing list