mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
F# developed as a research programming language to provide the much
sought-after combination of type safety, succinctness, performance, expressivity and scripting, with all the advantages of running on a high-quality, well-supported modern runtime system. This combination has been so successful that the language is now being transitioned towards a fully supported language on the .NET platform. F# was developed as a pragmatically-oriented variant of ML that shares a core language with OCaml. Unlike other scripting languages it executes at or near the speed of C# and C++, making use of the performance that comes through strong typing. Unlike many type-inferred, statically-typed languages it also supports many dynamic language techniques, such as property discovery and reflection where needed. F# includes extensions for working across languages and for object-oriented programming, and it works seamlessly with other .NET programming languages and tools. WWW: http://research.microsoft.com/fsharp/fsharp.aspx Approved by: gabor (mentor)
This commit is contained in:
parent
ebd8a0f8fa
commit
bd50b1948a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233574
5 changed files with 193 additions and 0 deletions
|
@ -77,6 +77,7 @@
|
||||||
SUBDIR += fpc-units
|
SUBDIR += fpc-units
|
||||||
SUBDIR += fpc-utils
|
SUBDIR += fpc-utils
|
||||||
SUBDIR += freetxl
|
SUBDIR += freetxl
|
||||||
|
SUBDIR += fsharp
|
||||||
SUBDIR += g95
|
SUBDIR += g95
|
||||||
SUBDIR += gambas
|
SUBDIR += gambas
|
||||||
SUBDIR += gambas2
|
SUBDIR += gambas2
|
||||||
|
|
77
lang/fsharp/Makefile
Normal file
77
lang/fsharp/Makefile
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# New ports collection makefile for: fsharp
|
||||||
|
# Date created: 2006 10 10
|
||||||
|
# Whom: Phillip Neumann <pneumann@gmail.com>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= fsharp
|
||||||
|
PORTVERSION= 1.9.6.2
|
||||||
|
CATEGORIES= lang
|
||||||
|
MASTER_SITES= http://download.microsoft.com/download/7/5/c/75c5ac35-9c13-4737-b363-3c930002259a/
|
||||||
|
DISTNAME= fsharp
|
||||||
|
|
||||||
|
MAINTAINER= pgj@FreeBSD.org
|
||||||
|
COMMENT= Functional and object-oriented language for the .NET platform
|
||||||
|
|
||||||
|
BUILD_DEPENDS= mono>=2:${PORTSDIR}/lang/mono\
|
||||||
|
${LOCALBASE}/lib/libgdiplus.a:${PORTSDIR}/x11-toolkits/libgdiplus
|
||||||
|
RUN_DEPENDS= mono>=2:${PORTSDIR}/lang/mono\
|
||||||
|
${LOCALBASE}/lib/libgdiplus.a:${PORTSDIR}/x11-toolkits/libgdiplus
|
||||||
|
|
||||||
|
PORTDIR= lib/${PORTNAME}-${PORTVERSION}
|
||||||
|
PORTDOCS= LICENSE-fsharp.txt README-fsharp.html doc manual
|
||||||
|
PORTDATA= lib source
|
||||||
|
|
||||||
|
PLIST_SUB= SUBDIR=${PORTDIR}
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
PLIST_SUB+= RMLIC="@comment "
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= RMLIC=""
|
||||||
|
.endif
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/FSharp-${PORTVERSION}
|
||||||
|
USE_ZIP= yes
|
||||||
|
RESTRICTED= Microsoft Research Shared Source License Agreement
|
||||||
|
|
||||||
|
AOT= Build \
|
||||||
|
Compiler.CodeDom Compiler.Interactive.Settings Compiler.Server.Shared Compiler \
|
||||||
|
Core \
|
||||||
|
LanguageService \
|
||||||
|
PowerPack.Linq PowerPack.Math.Providers PowerPack.Plot.Excel PowerPack.Plot.Neutral \
|
||||||
|
PowerPack.Plot.XCeed PowerPack.Plot PowerPack \
|
||||||
|
ProjectSystem.Base ProjectSystem.FSharp ProjectSystem.PropertyPages \
|
||||||
|
VS.FSI
|
||||||
|
|
||||||
|
WRAPPERS= fsc fsi fslex fsyacc
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
.for wrapper in ${WRAPPERS}
|
||||||
|
@(${ECHO} '#!${SH}' > ${WRKDIR}/${wrapper})
|
||||||
|
@(${ECHO} '${LOCALBASE}/bin/mono ${PREFIX}/${PORTDIR}/bin/${wrapper}.exe $$*' >> ${WRKDIR}/${wrapper})
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
.for asm in ${AOT}
|
||||||
|
@ ${GACUTIL_INSTALL} ${WRKSRC}/bin/FSharp.${asm}.dll
|
||||||
|
.endfor
|
||||||
|
@ ${MKDIR} ${PREFIX}/${PORTDIR} ${PREFIX}/${PORTDIR}/bin ${PREFIX}/${PORTDIR}/setup ${DOCSDIR}
|
||||||
|
@ (cd ${WRKSRC} && ${COPYTREE_SHARE} "bin setup" ${PREFIX}/${PORTDIR}/)
|
||||||
|
@ ${INSTALL_DATA} ${WRKSRC}/LICENSE-fsharp.txt ${DOCSDIR}/
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@ ${MKDIR} ${DOCSDIR}/doc ${DOCSDIR}/manual
|
||||||
|
@ (cd ${WRKSRC} && ${COPYTREE_SHARE} "doc manual" ${DOCSDIR}/)
|
||||||
|
@ ${INSTALL_DATA} ${WRKSRC}/README-fsharp.html ${DOCSDIR}/
|
||||||
|
.endif
|
||||||
|
.if !defined(NOPORTDATA)
|
||||||
|
@ ${MKDIR} ${DATADIR} ${DATADIR}/lib ${DATADIR}/source
|
||||||
|
@ (cd ${WRKSRC} && ${COPYTREE_SHARE} "lib source" ${DATADIR}/)
|
||||||
|
.endif
|
||||||
|
.for wrapper in ${WRAPPERS}
|
||||||
|
@ ${INSTALL_SCRIPT} ${WRKDIR}/${wrapper} ${PREFIX}/bin/
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
||||||
|
.include <bsd.port.mk>
|
3
lang/fsharp/distinfo
Normal file
3
lang/fsharp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
MD5 (fsharp.zip) = b0f8f208a967d6f344d568928c270c8a
|
||||||
|
SHA256 (fsharp.zip) = c3b1a1a31b484b8758f5ef799acd44613ced3e417334decb45217fb2263021a3
|
||||||
|
SIZE (fsharp.zip) = 14056489
|
18
lang/fsharp/pkg-descr
Normal file
18
lang/fsharp/pkg-descr
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
F# developed as a research programming language to provide the much
|
||||||
|
sought-after combination of type safety, succinctness, performance,
|
||||||
|
expressivity and scripting, with all the advantages of running on a
|
||||||
|
high-quality, well-supported modern runtime system. This combination
|
||||||
|
has been so successful that the language is now being transitioned
|
||||||
|
towards a fully supported language on the .NET platform.
|
||||||
|
|
||||||
|
F# was developed as a pragmatically-oriented variant of ML that shares a
|
||||||
|
core language with OCaml. Unlike other scripting languages it executes
|
||||||
|
at or near the speed of C# and C++, making use of the performance that
|
||||||
|
comes through strong typing. Unlike many type-inferred,
|
||||||
|
statically-typed languages it also supports many dynamic language
|
||||||
|
techniques, such as property discovery and reflection where needed. F#
|
||||||
|
includes extensions for working across languages and for object-oriented
|
||||||
|
programming, and it works seamlessly with other .NET programming
|
||||||
|
languages and tools.
|
||||||
|
|
||||||
|
WWW: http://research.microsoft.com/fsharp/fsharp.aspx
|
94
lang/fsharp/pkg-plist
Normal file
94
lang/fsharp/pkg-plist
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
@comment $FreeBSD$
|
||||||
|
@unexec gacutil -u FSharp.Build
|
||||||
|
@unexec gacutil -u FSharp.Compiler.CodeDom
|
||||||
|
@unexec gacutil -u FSharp.Compiler.Interactive.Settings
|
||||||
|
@unexec gacutil -u FSharp.Compiler.Server.Shared
|
||||||
|
@unexec gacutil -u FSharp.Compiler
|
||||||
|
@unexec gacutil -u FSharp.Core
|
||||||
|
@unexec gacutil -u FSharp.LanguageService
|
||||||
|
@unexec gacutil -u FSharp.PowerPack.Linq
|
||||||
|
@unexec gacutil -u FSharp.PowerPack.Math.Providers
|
||||||
|
@unexec gacutil -u FSharp.PowerPack.Plot.Excel
|
||||||
|
@unexec gacutil -u FSharp.PowerPack.Plot.Neutral
|
||||||
|
@unexec gacutil -u FSharp.PowerPack.Plot.XCeed
|
||||||
|
@unexec gacutil -u FSharp.PowerPack.Plot
|
||||||
|
@unexec gacutil -u FSharp.PowerPack
|
||||||
|
@unexec gacutil -u FSharp.ProjectSystem.Base
|
||||||
|
@unexec gacutil -u FSharp.ProjectSystem.FSharp
|
||||||
|
@unexec gacutil -u FSharp.ProjectSystem.PropertyPages
|
||||||
|
@unexec gacutil -u FSharp.VS.FSI
|
||||||
|
bin/fsi
|
||||||
|
bin/fsc
|
||||||
|
bin/fslex
|
||||||
|
bin/fsyacc
|
||||||
|
%%RMLIC%%%%DOCSDIR%%/LICENSE-fsharp.txt
|
||||||
|
%%RMLIC%%@dirrm %%DOCSDIR%%
|
||||||
|
%%SUBDIR%%/bin/FSharp.Build.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.Compiler.CodeDom.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.Compiler.CodeDom.xml
|
||||||
|
%%SUBDIR%%/bin/FSharp.Compiler.Interactive.Settings.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.Compiler.Server.Shared.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.Compiler.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.Core.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.Core.pdb
|
||||||
|
%%SUBDIR%%/bin/FSharp.Core.xml
|
||||||
|
%%SUBDIR%%/bin/FSharp.LanguageService.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Linq.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Linq.pdb
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Linq.xml
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Math.Providers.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Plot.Excel.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Plot.Neutral.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Plot.XCeed.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.Plot.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.pdb
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.targets
|
||||||
|
%%SUBDIR%%/bin/FSharp.PowerPack.xml
|
||||||
|
%%SUBDIR%%/bin/FSharp.ProjectSystem.Base.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.ProjectSystem.FSharp.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.ProjectSystem.PropertyPages.dll
|
||||||
|
%%SUBDIR%%/bin/FSharp.VS.FSI.dll
|
||||||
|
%%SUBDIR%%/bin/Microsoft.FSharp.targets
|
||||||
|
%%SUBDIR%%/bin/Microsoft.VC90.CRT.manifest
|
||||||
|
%%SUBDIR%%/bin/absilsuppc.dll
|
||||||
|
%%SUBDIR%%/bin/fsc.exe
|
||||||
|
%%SUBDIR%%/bin/fsi.exe
|
||||||
|
%%SUBDIR%%/bin/fslex.exe
|
||||||
|
%%SUBDIR%%/bin/fsyacc.exe
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Compiler.CodeDom.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Compiler.CodeDom.pdb
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Compiler.CodeDom.xml
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Compiler.Server.Shared.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Compiler.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Core.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Core.pdb
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.Core.xml
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.LanguageService.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.PowerPack.Linq.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.PowerPack.Linq.pdb
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.PowerPack.Linq.xml
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.PowerPack.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.PowerPack.pdb
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.PowerPack.xml
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.ProjectSystem.Base.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.ProjectSystem.FSharp.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.ProjectSystem.PropertyPages.dll
|
||||||
|
%%SUBDIR%%/bin/gac/FSharp.VS.FSI.dll
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.Compiler.CodeDom.dll
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.Compiler.CodeDom.dll.config
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.Core.dll
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.Core.dll.config
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.PowerPack.Linq.dll
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.PowerPack.Linq.dll.config
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.PowerPack.dll
|
||||||
|
%%SUBDIR%%/bin/gac/policy.1.9.FSharp.PowerPack.dll.config
|
||||||
|
%%SUBDIR%%/bin/msvcm90.dll
|
||||||
|
%%SUBDIR%%/bin/msvcp90.dll
|
||||||
|
%%SUBDIR%%/bin/msvcr90.dll
|
||||||
|
@dirrm %%SUBDIR%%/bin/gac
|
||||||
|
@dirrm %%SUBDIR%%/bin
|
||||||
|
%%SUBDIR%%/setup/cordir.exe
|
||||||
|
%%SUBDIR%%/setup/gac.exe
|
||||||
|
@dirrm %%SUBDIR%%/setup
|
||||||
|
@dirrm %%SUBDIR%%
|
Loading…
Add table
Reference in a new issue