1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/silq/Makefile
Stefan Eßer 3f972f481c lang/silq: Update to latest upstream version (c0029ff)
This update allows quantum operations to replace and access multiple
array components simultaneously.
2021-05-03 09:18:17 +02:00

33 lines
771 B
Makefile

PORTNAME= silq
PORTVERSION= 20210503
CATEGORIES= lang math science
MAINTAINER= se@FreeBSD.org
COMMENT= Silq from ETH Zuerich
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= unknown status of the D language compiler (lang/ldc) on ${ARCH}
BUILD_DEPENDS= ldmd2:lang/ldc
USE_GITHUB= yes
GH_TUPLE= eth-sri:silq:c0029ff \
tgehr:ast:cfa0289:ast/ast \
tgehr:util:eb42377:util/util
OPTIONS_DEFINE= EXAMPLES
do-build:
cd ${WRKSRC}; ldmd2 -O -inline -J. -Jlibrary *.d ast/*.d util/*.d -linker=lld -of=silq
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/silq ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "-name *\.slq"
.include <bsd.port.mk>