Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -1207,6 +1207,7 @@ SUBDIR += hwloc SUBDIR += hyperscan SUBDIR += ice + SUBDIR += icestorm SUBDIR += icmake SUBDIR += icu SUBDIR += icu-le-hb Index: head/devel/icestorm/Makefile =================================================================== --- head/devel/icestorm/Makefile +++ head/devel/icestorm/Makefile @@ -0,0 +1,34 @@ +# Created by: Johnny Sorocil +# $FreeBSD$ + +PORTNAME= icestorm +PORTVERSION= g20180310 +CATEGORIES= devel + +MAINTAINER= jsorocil@gmail.com +COMMENT= IceStorm tools for Lattice iCE40 FPGAs + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libftdi1.so:devel/libftdi1 + +USES= gmake python:3.3+ shebangfix pkgconfig +SHEBANG_FILES= ${WRKSRC}/icebox/*.py \ + ${WRKSRC}/icebox/Makefile + +USE_GITHUB= yes +GH_ACCOUNT= cliffordwolf +GH_TAGNAME= 4476d83f76fa0222be0b691fe27c1e0228266f82 + +BINARY_ALIAS= python3=${PYTHON_CMD} + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/icepack + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/icepll + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/icebram + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/iceprog + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/icemulti + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/icetime + +.include Index: head/devel/icestorm/distinfo =================================================================== --- head/devel/icestorm/distinfo +++ head/devel/icestorm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1527186186 +SHA256 (cliffordwolf-icestorm-g20180310-4476d83f76fa0222be0b691fe27c1e0228266f82_GH0.tar.gz) = 1dc3b821e0e4bcdc7f61655678e04fac847f820a5d15a2f89bcbe0baed477bcb +SIZE (cliffordwolf-icestorm-g20180310-4476d83f76fa0222be0b691fe27c1e0228266f82_GH0.tar.gz) = 865104 Index: head/devel/icestorm/pkg-descr =================================================================== --- head/devel/icestorm/pkg-descr +++ head/devel/icestorm/pkg-descr @@ -0,0 +1,5 @@ +Project IceStorm aims at documenting the bitstream format of Lattice +iCE40 FPGAs and providing simple tools for analyzing and creating +bitstream files. + +WWW: http://www.clifford.at/icestorm Index: head/devel/icestorm/pkg-plist =================================================================== --- head/devel/icestorm/pkg-plist +++ head/devel/icestorm/pkg-plist @@ -0,0 +1,23 @@ +bin/icebox_asc2hlc +bin/icebox_chipdb +bin/icebox_colbuf +bin/icebox_diff +bin/icebox_explain +bin/icebox_hlc2asc +bin/icebox_html +bin/icebox_maps +bin/icebox_stat +bin/icebox_vlog +bin/icebox.py +bin/iceboxdb.py +bin/icebram +bin/icemulti +bin/icepack +bin/icepll +bin/iceprog +bin/icetime +bin/iceunpack +share/icebox/chipdb-1k.txt +share/icebox/chipdb-384.txt +share/icebox/chipdb-5k.txt +share/icebox/chipdb-8k.txt