blob: 93d2fbdc216077b25f6102c8ae638ad9eff16bcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= silq
PORTVERSION= 20202003
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:096774d \
tgehr:ast:790f2d6: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>
|