mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
36 lines
800 B
Makefile
36 lines
800 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= silq
|
|
PORTVERSION= 20200919
|
|
PORTREVISION= 1
|
|
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:b09da8a \
|
|
tgehr:ast:0e36dc2: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>
|