mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
d442f875f5
USES=mono: minor fixes - save a copy of the nuget package in the packages directory - force linking of directories, allowing nuget-extract to be rerun without `make clean` - fix makenuget: nuget requires an equals to identify the version, not a dash devel/monodevelop: update to 6.2.1.3 - update nuget packages: - link older System.Collection.Immutable 1.1.37 to newer 1.3.1 (used by C# and F# respectively) - update external github repositories - allow post-extract target to be run multiple times - change MonoDevelop.Packaging to use a newer version of NuGet.Build.Packaging (the older version is no longer fetchable) - remove patch integrated upstream - moved `nuget restore` patching from post-patch into a patch file (the former broke silently) - ChangeLog: - https://developer.xamarin.com/releases/studio/xamarin.studio_6.2/xamarin.studio_6.2/ irc/smartirc4net: update to 1.1 - add LICENSE lang/fsharp: update to 4.1.18 - add test dependency on libgdiplus - update nuget packages - update test paths for fsharp assemblies - update patches to prevent `nuget restore` from running - ChangeLog: - Set executable bit correctly on output - Integrate visualfsharp - Fix regression on binding redirects for System.Collections.Immutable - Fix regression in Microsoft.Build.FSharp.targets - Fix binding redirects for System.Collections.Immutable - Fix version of library going in %PREFIX/lib/mono/fsharp - Align fsc task and target file - Use install layout that includes mono/fsharp - Fix F# Intereactive on Mono 4.9+ - Update compiler tools - Updates to FSharp.Core nuget package for F# 4.1 - Fix #656: error FS0193: internal error: No access to the given key lang/mono: various fixes - fix linking with lld [1] - double maximum handle size [2] - add option to run acceptance tests - allow for optional bootstrapping of mono via either installed mcs (if available) or via downloaded "monolite" (default) - add python and py-pillow as dependencies for bin/mono-heapviz - add armv6 as a supported architecture (untested) - switch to github for source code: - official tarball does not include tests - patches: - recognise FreeBSD for AOT suffix - change mono-heapviz to use pillow instead of PIL multimedia/banshee: tell portscout to ignore this port - Portscout was not skipping the 2.9.1 version, and upstream appears to be quiet for the last few years. x11-toolkits/gtk-sharp20: update to 2.12.43 - ChangeLog: - fix compilation on mono-4.8.0 (incorrect use of sizeof()) - correctly set owned=true on custom constructors PR: 218885 [1] PR: 200937 [2]
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: Phillip Neumann <pneumann@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fsharp
|
|
PORTVERSION= 4.1.18
|
|
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>
|