diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2009-05-10 10:46:38 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2009-05-10 10:46:38 +0000 |
commit | bd50b1948a6730197fbb51680c13ca7f23a2891c (patch) | |
tree | 8467cd8f81995994e8389ce65f2f096cbb023ca9 /lang/fsharp | |
parent | - Update to 2.14.3 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=233574
Diffstat (limited to 'lang/fsharp')
-rw-r--r-- | lang/fsharp/Makefile | 77 | ||||
-rw-r--r-- | lang/fsharp/distinfo | 3 | ||||
-rw-r--r-- | lang/fsharp/pkg-descr | 18 | ||||
-rw-r--r-- | lang/fsharp/pkg-plist | 94 |
4 files changed, 192 insertions, 0 deletions
diff --git a/lang/fsharp/Makefile b/lang/fsharp/Makefile new file mode 100644 index 000000000000..4016e1e4eb38 --- /dev/null +++ b/lang/fsharp/Makefile @@ -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> diff --git a/lang/fsharp/distinfo b/lang/fsharp/distinfo new file mode 100644 index 000000000000..050913df9344 --- /dev/null +++ b/lang/fsharp/distinfo @@ -0,0 +1,3 @@ +MD5 (fsharp.zip) = b0f8f208a967d6f344d568928c270c8a +SHA256 (fsharp.zip) = c3b1a1a31b484b8758f5ef799acd44613ced3e417334decb45217fb2263021a3 +SIZE (fsharp.zip) = 14056489 diff --git a/lang/fsharp/pkg-descr b/lang/fsharp/pkg-descr new file mode 100644 index 000000000000..3fbe2c5f1781 --- /dev/null +++ b/lang/fsharp/pkg-descr @@ -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 diff --git a/lang/fsharp/pkg-plist b/lang/fsharp/pkg-plist new file mode 100644 index 000000000000..c61eb4a86b2b --- /dev/null +++ b/lang/fsharp/pkg-plist @@ -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%% |