Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 15:48:10 +0900 (JST)
From:      mitsuru@riken.jp
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/133887: New port: lang/scala  The Scala Programming Language
Message-ID:  <200904210648.n3L6mAoH046817@zebu.yokohama.riken.jp>
Resent-Message-ID: <200904210650.n3L6o1Lh044656@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133887
>Category:       ports
>Synopsis:       New port: lang/scala  The Scala Programming Language
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 21 06:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 7.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE-p4


	
>Description:
	
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/

>How-To-Repeat:
	
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	scala
#	scala/Makefile
#	scala/distinfo
#	scala/pkg-descr
#	scala/pkg-plist
#
echo c - scala
mkdir -p scala > /dev/null 2>&1
echo x - scala/Makefile
sed 's/^X//' >scala/Makefile << '3a7c4ba008b3e15c587c3e1a724f08f5'
X# New ports collection makefile for:	Scala
X# Date created:			21 April 2009
X# Whom:				Mitsuru YOSHIDA <mitsuru@riken.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	scala
XPORTVERSION=	2.7.3
XDISTVERSIONSUFFIX=	.final
XCATEGORIES=	lang java
XMASTER_SITES=	http://www.scala-lang.org/downloads/distrib/files/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	mitsuru@riken.jp
XCOMMENT=	The Scala Programming Language
X
XNO_BUILD=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
X
XMAN1=	fsc.1 sbaz.1 scala.1 scalac.1 scaladoc.1
X
XSCALA_HOME?=	${PREFIX}/share/${PORTNAME}-${PORTVERSION}
XSCALA_SHRDIRS=	lib meta misc
X
XPLIST_SUB+=	PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
X
X.include <bsd.port.pre.mk>
X
Xpre-patch:
X	@${ECHO_MSG} "Installation settings:"
X	@${ECHO_MSG} "   SCALA_HOME:    ${SCALA_HOME}"
X
Xdo-install:
X	@${ECHO_MSG} -n ">> Installing Scala files..."
X	@cd ${WRKSRC}/bin \
X	  && ${FIND} . -type d -exec ${MKDIR} ${SCALA_HOME}/bin/{} \; \
X	  && ${FIND} . -perm 755 -type f -exec ${INSTALL_SCRIPT} {} ${SCALA_HOME}/bin/{} \;
X.for target in ${SCALA_SHRDIRS}
X	@cd ${WRKSRC}/${target} \
X	  && ${FIND} . -type d -exec ${MKDIR} ${SCALA_HOME}/${target}/{} \; \
X	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${SCALA_HOME}/${target}/{} \;
X	@cd ${WRKSRC}/man/man1 \
X	  && ${FIND} . -type f -exec ${INSTALL_MAN} {} ${MANPREFIX}/man/man1/{} \;
X.endfor
X	@${ECHO_MSG} -n ">> Installing symlinks in ${PREFIX}/bin..."
X	@cd ${SCALA_HOME}/bin \
X	  && ${FIND} . -type f -exec ${LN} -s ${SCALA_HOME}/bin/{} ${PREFIX}/bin/{} \;
X
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG} -n ">> Installing Documents files..."
X	${MKDIR} ${DOCSDIR}
X	@(cd ${WRKSRC}/doc \
X	  && ${COPYTREE_SHARE} \* ${DOCSDIR})
X	@${ECHO_MSG} " [ DONE ]"
X.endif
X
X.include <bsd.port.post.mk>
3a7c4ba008b3e15c587c3e1a724f08f5
echo x - scala/distinfo
sed 's/^X//' >scala/distinfo << '0e96ad9a288d87bee5dcc9990f464ec2'
XMD5 (scala-2.7.3.final.tgz) = 95802b5782357d025ce879f8a1e11fbe
XSHA256 (scala-2.7.3.final.tgz) = e8624328d88e0a9be88483b9fe11bba36d99acf45fc32852998e08a0a90c6050
XSIZE (scala-2.7.3.final.tgz) = 15333621
0e96ad9a288d87bee5dcc9990f464ec2
echo x - scala/pkg-descr
sed 's/^X//' >scala/pkg-descr << '8da020d4e37fc0edc5c14b7b8e764b3e'
XScala is a general purpose programming language designed to express common
Xprogramming patterns in a concise, elegant, and type-safe way. It smoothly
Xintegrates features of object-oriented and functional languages, enabling
XJava and other programmers to be more productive. Code sizes are typically
Xreduced by a factor of two to three when compared to an equivalent Java
Xapplication.
X
XWWW: http://www.scala-lang.org/
8da020d4e37fc0edc5c14b7b8e764b3e
echo x - scala/pkg-plist
sed 's/^X//' >scala/pkg-plist << 'e3cd6704d957b80e36ee256176aac627'
X%%PORTDOCS%%%%DOCSDIR%%/sbaz-setup/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/sbaz/manual.html
X%%PORTDOCS%%%%DOCSDIR%%/sbaz/manual.pdf
Xbin/fsc
Xbin/sbaz
Xbin/sbaz-setup
Xbin/scala
Xbin/scalac
Xbin/scaladoc
Xshare/%%PORTNAME%%-%%PORTVERSION%%/bin/fsc
Xshare/%%PORTNAME%%-%%PORTVERSION%%/bin/sbaz
Xshare/%%PORTNAME%%-%%PORTVERSION%%/bin/sbaz-setup
Xshare/%%PORTNAME%%-%%PORTVERSION%%/bin/scala
Xshare/%%PORTNAME%%-%%PORTVERSION%%/bin/scalac
Xshare/%%PORTNAME%%-%%PORTVERSION%%/bin/scaladoc
Xshare/%%PORTNAME%%-%%PORTVERSION%%/lib/sbaz-tests.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/lib/sbaz.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-compiler.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-dbc.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-library.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/lib/scala-swing.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/meta/available
Xshare/%%PORTNAME%%-%%PORTVERSION%%/meta/description
Xshare/%%PORTNAME%%-%%PORTVERSION%%/meta/installed
Xshare/%%PORTNAME%%-%%PORTVERSION%%/meta/universe
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz-testall/tests/sbaz
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors/lamp-rc
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors/scala-dev
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/scala-library.jar
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/a2ps/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/a2ps/scala.ssh
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/bluefish/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/bluefish/highlighting
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/AUTHORS
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/FUTURE
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/Makefile
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/contrib/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/contrib/dot-ctags
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-auto.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-constants.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature-electric.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature-speedbar.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature-tags.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-feature.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-fontlock.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-indent.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-inf.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-lib.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-navigation.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-ui.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode-variables.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/scala-mode.el
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/enscript/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/enscript/scala.st
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/gedit/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/gedit/scala.lang
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/geshi/scala-alt.php
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/geshi/scala.php
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/intellij/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/intellij/scala.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/commando/scala.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/commando/scalac.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/modes/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/modes/scala.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/kate/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/kate/scala.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/scaladefs.sty
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/scaladoc.sty
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/scalatex.scm
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/tweaklist.sty
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex/verbfilterScala.java
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/notepad-plus/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/notepad-plus/userDefineLang.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/scite/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/scite/scala.properties
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Documentation.webloc
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Info.plist
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/AutocompleteAdditions.txt
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/English.lproj/InfoPlist.strings
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/English.lproj/Localizable.strings
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/ModeSettings.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/RegexSymbols.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/Scripts/Rot13.scpt
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/SyntaxDefinition.xml
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/mytemplate.scala
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/artwork/SymbolM.psd
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/artwork/readme.txt
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textmate/Bundles/Scala.tmbundle.zip
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textwrangler/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textwrangler/Scala_Configuration.plist
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/ftdetect/scala.vim
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/indent/scala.vim
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/syntax/scala.vim
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/README
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/Specifications/Scala.pbfilespec
Xshare/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/Specifications/Scala.pblangspec
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode/Specifications
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/xcode
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/syntax
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/indent
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim/ftdetect
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/vim
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textwrangler
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textmate/Bundles
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/textmate
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/artwork
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/Scripts
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources/English.lproj
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents/Resources
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode/Contents
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit/Scala.mode
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/subethaedit
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/scite
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/notepad-plus
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/latex
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/kate
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/modes
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console/commando
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit/console
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/jedit
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/intellij
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/geshi
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/gedit
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/enscript
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs/contrib
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/emacs
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/bluefish
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support/a2ps
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/scala-tool-support
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz/descriptors
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz-testall/tests
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz-testall
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc/sbaz
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/misc
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/meta
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/lib
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/bin
X@dirrm %%PORTDOCS%%%%DOCSDIR%%/sbaz-setup
X@dirrm %%PORTDOCS%%%%DOCSDIR%%/sbaz
X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
e3cd6704d957b80e36ee256176aac627
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904210648.n3L6mAoH046817>