blob: 8a3737dcefaed3767d9b5802d089c65127435060 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= msbuild
DISTVERSIONPREFIX= v
DISTVERSION= 15.8-preview
CATEGORIES= devel
MASTER_SITES= https://github.com/mono/msbuild/releases/download/0.06/:bootstrap
DISTFILES= mono_msbuild_xplat-master-3c930fa8.zip:bootstrap
MAINTAINER= mono@FreeBSD.org
COMMENT= Build platform for .NET and Visual Studio
WWW= https://github.com/Microsoft/msbuild
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
NUGET_FEEDS= DOTNET_CORE NUGET ROSLYN ROSLYN_TOOLS SYMREADER_CONVERTER
NUGET_LAYOUT= dotnet
USES= mono:nuget shebangfix
USE_GITHUB= yes
GH_ACCOUNT= mono
GH_TAGNAME= 0.06
SHEBANG_FILES= *.sh artifacts/mono-msbuild/msbuild build.sh build/*.sh
MAKE_ENV= GIT_COMMIT=3c930fa8721935cf0e381fd349f6f50cf2bc223d
MAKE_JOBS_UNSAFE=MSBuild has not implemented concurrent builds on non Windows platforms
ALL_TARGET= all-mono
TEST_TARGET= test-mono
post-extract:
${MKDIR} ${WRKSRC}/artifacts
${MV} ${WRKDIR}/msbuild ${WRKSRC}/artifacts/mono-msbuild
do-build:
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ./build/build.sh -host mono -configuration Release -skipTests build)
do-install:
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} PATH=${WRKSRC}/artifacts/mono-msbuild:$$PATH ./install-mono-prefix.sh ${PREFIX})
do-test:
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ./build/build.sh -host mono -configuration Release build)
.include <bsd.port.mk>
|