Highlights: - New Roslyn compiler for C# available - Improved support for nuget packages in USES=mono General: - fix pkg-plist: mono now produces '.pdb' debug files instead of '.mdb' - bump all dependant ports USES=mono: - properly handle caching of nuget packages - add support for multiple feeds for nuget packages - add support for nuget dependencies in a separate file - add support for paket packages lang/mono: - update to version 5.2.0.215 - automate certificate initialisation [2] - increase test coverage - mark as conflicting with net/czmq (conflicting on makecert) [1] - patch mono to use $PREFIX/share/mono instead of /usr/share/.mono devel/google-gdata: - use nunit.framework nuget package as the Mono shipped version is no longer suppport. - switch to using csc(1) for compiling (mcs(1) is depreciated). - use delayed signing (and then sign with sn(1)) as csc(1) does not support signing. - fix reference to system assemblies (the '.dll' suffix is required). - fix reference to HttpUtility: csc(1) is more strict about scoping devel/monodevelop: - reroll distinfo (no changes to content) lang/fsharp: - reroll distinfo (no changes to content) security/gnome-keyring-sharp: - delay sign (then sign with sn(1)) as csc(1) does not support direct signing. PR: 223188 [1] PR: 209670 [2] Differential Revision: https://reviews.freebsd.org/D13752
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# Created by: Phillip Neumann <pneumann@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fsharp
|
|
PORTVERSION= 4.1.18
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= mono@FreeBSD.org
|
|
COMMENT= Functional and object-oriented language for the .NET platform
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= mono>=3.0:lang/mono \
|
|
referenceassemblies-pcl>=4.6-1:lang/referenceassemblies-pcl
|
|
RUN_DEPENDS= mono>=3.0:lang/mono
|
|
TEST_DEPENDS= libgdiplus>=0:x11-toolkits/libgdiplus
|
|
|
|
NUGET_DEPENDS= FSharp.Compiler.Tools=4.1.5 \
|
|
FSharp.Data=2.2.5 \
|
|
FsCheck=2.6.2 \
|
|
FsLexYacc=7.0.4 \
|
|
Microsoft.DiaSymReader=1.1.0 \
|
|
Microsoft.DiaSymReader.PortablePdb=1.1.0 \
|
|
NUnit=3.5.0 \
|
|
System.Collections.Immutable=1.2.0 \
|
|
System.Reflection.Metadata=1.4.2 \
|
|
System.ValueTuple=4.3.0
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= autoreconf gmake mono:nuget pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= Build not parallelizable
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
${MKDIR} ${WRKDIR}/bin
|
|
echo "#!/bin/sh" > ${WRKDIR}/bin/fsharpc
|
|
echo 'exec ${LOCALBASE}/bin/mono ${WRKSRC}/Release/net40/bin/fsc.exe "$$@"' >> ${WRKDIR}/bin/fsharpc
|
|
${CHMOD} 0755 ${WRKDIR}/bin/fsharpc
|
|
(cd ${WRKSRC}/tests/fsharp/core; \
|
|
${ENV} \
|
|
PATH=${WRKDIR}/bin:${PATH} \
|
|
MONO_PATH=${WRKSRC}/Release/net40/bin \
|
|
./run-all.sh)
|
|
|
|
.include <bsd.port.mk>
|