diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2009-05-15 17:43:14 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2009-05-15 17:43:14 +0000 |
commit | bf21a9fb84a599e7f2b5d9e0020d4ffd83e47a65 (patch) | |
tree | b059b79ad70795b460b8fedb4e69f28b98a98f6f /lang | |
parent | 5437a028a4b2d7045760d94538333b5ec60dc9f7 (diff) | |
download | ports-bf21a9fb84a599e7f2b5d9e0020d4ffd83e47a65.tar.gz ports-bf21a9fb84a599e7f2b5d9e0020d4ffd83e47a65.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/scala/Makefile | 63 | ||||
-rw-r--r-- | lang/scala/distinfo | 3 | ||||
-rw-r--r-- | lang/scala/pkg-descr | 8 | ||||
-rw-r--r-- | lang/scala/pkg-plist | 149 |
5 files changed, 224 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 59006eed0ef6..6bf6ec940ebe 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -299,6 +299,7 @@ SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl + SUBDIR += scala SUBDIR += scheme48 SUBDIR += schemetoc SUBDIR += scm diff --git a/lang/scala/Makefile b/lang/scala/Makefile new file mode 100644 index 000000000000..233099ddf318 --- /dev/null +++ b/lang/scala/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: Scala +# Date created: 21 April 2009 +# Whom: Mitsuru YOSHIDA <mitsuru@riken.jp> +# +# $FreeBSD$ +# + +PORTNAME= scala +PORTVERSION= 2.7.4 +DISTVERSIONSUFFIX= .final +CATEGORIES= lang java +MASTER_SITES= http://www.scala-lang.org/downloads/distrib/files/ \ + LOCAL/glarkin +EXTRACT_SUFX= .tgz + +MAINTAINER= mitsuru@riken.jp +COMMENT= The Scala Programming Language + +NO_BUILD= yes +USE_JAVA= yes +JAVA_VERSION= 1.5+ + +MAN1= fsc.1 sbaz.1 scala.1 scalac.1 scaladoc.1 + +SCALA_HOME?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} +SCALA_SHRDIRS= lib meta misc + +PLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} + +.include <bsd.port.pre.mk> + +pre-patch: + @${ECHO_MSG} "Installation settings:" + @${ECHO_MSG} " SCALA_HOME: ${SCALA_HOME}" + +do-install: + @${ECHO_MSG} ">> Installing Scala files..." + @${INSTALL} -d ${SCALA_HOME}/bin + @cd ${WRKSRC}/bin \ + && ${FIND} . -perm 755 -type f -exec ${INSTALL_SCRIPT} {} \ + ${SCALA_HOME}/bin/{} \; +.for target in ${SCALA_SHRDIRS} + @cd ${WRKSRC}/${target} \ + && ${FIND} . -type d -exec ${INSTALL} -d ${SCALA_HOME}/${target}/{} \; \ + && ${FIND} . -type f -exec ${INSTALL_DATA} {} \ + ${SCALA_HOME}/${target}/{} \; +.endfor + @cd ${WRKSRC}/man/man1 \ + && ${FIND} . -type f -exec ${INSTALL_MAN} {} \ + ${MANPREFIX}/man/man1/{} \; + @${ECHO_MSG} ">> Installing symlinks in ${PREFIX}/bin..." + @cd ${SCALA_HOME}/bin \ + && ${FIND} . -type f -exec ${LN} -s ${SCALA_HOME}/bin/{} \ + ${PREFIX}/bin/{} \; + +.if !defined(NOPORTDOCS) + @${ECHO_MSG} ">> Installing documentation files..." + @${INSTALL} -d ${DOCSDIR} + @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} + @${ECHO_MSG} " [ DONE ]" +.endif + +.include <bsd.port.post.mk> diff --git a/lang/scala/distinfo b/lang/scala/distinfo new file mode 100644 index 000000000000..58be946f9ff2 --- /dev/null +++ b/lang/scala/distinfo @@ -0,0 +1,3 @@ +MD5 (scala-2.7.4.final.tgz) = 9077f5d083c59f591f044b5295eb2011 +SHA256 (scala-2.7.4.final.tgz) = 5495a97a365fb237e7477a4cc9b69fae1a138c3d845ebff6a8f37fde38fcc12f +SIZE (scala-2.7.4.final.tgz) = 15420030 diff --git a/lang/scala/pkg-descr b/lang/scala/pkg-descr new file mode 100644 index 000000000000..90cd6c39188c --- /dev/null +++ b/lang/scala/pkg-descr @@ -0,0 +1,8 @@ +Scala is a general purpose programming language designed to express +common programming patterns in a concise, elegant, and type-safe +way. It smoothly integrates features of object-oriented and functional +languages, enabling Java and other programmers to be more productive. +Code sizes are typically reduced by a factor of two to three when +compared to an equivalent Java application. + +WWW: http://www.scala-lang.org/ diff --git a/lang/scala/pkg-plist b/lang/scala/pkg-plist new file mode 100644 index 000000000000..a8e6e312aca8 --- /dev/null +++ b/lang/scala/pkg-plist @@ -0,0 +1,149 @@ +%%PORTDOCS%%%%DOCSDIR%%/sbaz-setup/README.txt +%%PORTDOCS%%%%DOCSDIR%%/sbaz/manual.html +%%PORTDOCS%%%%DOCSDIR%%/sbaz/manual.pdf +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +bin/fsc +bin/sbaz +bin/sbaz-setup +bin/scala +bin/scalac +bin/scaladoc +share/%%PORTNAME%%-%%PORTVERSION%%/bin/fsc +share/%%PORTNAME%%-%%PORTVERSION%%/bin/sbaz +share/%%PORTNAME%%-%%PORTVERSION%%/bin/sbaz-setup +share/%%PORTNAME%%-%%PORTVERSION%%/bin/scala +share/%%PORTNAME%%-%%PORTVERSION%%/bin/scalac +share/%%PORTNAME%%-%%PORTVERSION%%/bin/scaladoc +share/%%PORTNAME%%-%%PORTVERSION%%/lib/sbaz-tests.jar +share/%%PORTNAME%%-%%PORTVERSION%%/lib/sbaz.jar +share/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-compiler.jar +share/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-dbc.jar +share/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-library.jar +share/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-swing.jar +share/%%PORTNAME%%-%%PORTVERSION%%/meta/available +share/%%PORTNAME%%-%%PORTVERSION%%/meta/description +share/%%PORTNAME%%-%%PORTVERSION%%/meta/installed +share/%%PORTNAME%%-%%PORTVERSION%%/meta/universe +share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz-testall/tests/sbaz +share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors/lamp-rc +share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors/scala-dev +share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/scala-library.jar +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/a2ps/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/a2ps/scala.ssh +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/bluefish/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/bluefish/highlighting +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/AUTHORS +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/FUTURE +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/Makefile +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/contrib/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/contrib/dot-ctags +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-auto.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-constants.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature-electric.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature-speedbar.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature-tags.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-fontlock.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-indent.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-inf.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-lib.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-navigation.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-ui.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-variables.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode.el +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/enscript/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/enscript/scala.st +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/gedit/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/gedit/scala.lang +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/geshi/scala-alt.php +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/geshi/scala.php +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/intellij/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/intellij/scala.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/commando/scala.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/commando/scalac.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/modes/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/modes/scala.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/kate/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/kate/scala.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/scaladefs.sty +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/scaladoc.sty +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/scalatex.scm +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/tweaklist.sty +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/verbfilterScala.java +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/notepad-plus/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/notepad-plus/userDefineLang.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/scite/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/scite/scala.properties +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Documentation.webloc +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Info.plist +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/AutocompleteAdditions.txt +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/English.lproj/InfoPlist.strings +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/English.lproj/Localizable.strings +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/ModeSettings.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/RegexSymbols.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/Scripts/Rot13.scpt +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/SyntaxDefinition.xml +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/mytemplate.scala +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/artwork/SymbolM.psd +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/artwork/readme.txt +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textmate/Bundles/Scala.tmbundle.zip +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textwrangler/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textwrangler/Scala_Configuration.plist +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/ftdetect/scala.vim +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/indent/scala.vim +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/plugin/31-create-scala.vim +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/syntax/scala.vim +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/README +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/Specifications/Scala.pbfilespec +share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/Specifications/Scala.pblangspec +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/Specifications +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/syntax +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/plugin +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/indent +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/ftdetect +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textwrangler +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textmate/Bundles +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textmate +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/artwork +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/Scripts +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/English.lproj +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/scite +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/notepad-plus +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/kate +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/modes +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/commando +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/intellij +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/geshi +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/gedit +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/enscript +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/contrib +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/bluefish +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/a2ps +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz-testall/tests +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz-testall +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/meta +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/lib +@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/bin +@dirrmtry share/%%PORTNAME%%-%%PORTVERSION%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/sbaz-setup +%%PORTDOCS%%@dirrm %%DOCSDIR%%/sbaz +%%PORTDOCS%%@dirrm %%DOCSDIR%% |