aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-10-16 08:31:43 +0800
committerdanilo <danilo@FreeBSD.org>2013-10-16 08:31:43 +0800
commit96c7ffd1379f0627f7b3f4d6035187c7b3230241 (patch)
treef61cf8976a55fb511d65ef8a941ad4388f10e2d9 /lang
parent4d5de9551834c7482f4baab0e1526df94f908daa (diff)
downloadfreebsd-ports-gnome-96c7ffd1379f0627f7b3f4d6035187c7b3230241.tar.gz
freebsd-ports-gnome-96c7ffd1379f0627f7b3f4d6035187c7b3230241.tar.zst
freebsd-ports-gnome-96c7ffd1379f0627f7b3f4d6035187c7b3230241.zip
- Update from 2.10.2 to 2.10.3 [1]
- Update MASTER_SITES [1] - Improve COMMENT - Add stage support PR: ports/182992 Submitted by: mitsururike@gmail.com (maintainer) [1] Approved by: wg/culot (mentors, implicit)
Diffstat (limited to 'lang')
-rw-r--r--lang/scala/Makefile42
-rw-r--r--lang/scala/distinfo4
2 files changed, 22 insertions, 24 deletions
diff --git a/lang/scala/Makefile b/lang/scala/Makefile
index e5f0320b40ef..958ed4ffc6f4 100644
--- a/lang/scala/Makefile
+++ b/lang/scala/Makefile
@@ -2,13 +2,13 @@
# $FreeBSD$
PORTNAME= scala
-PORTVERSION= 2.10.2
+PORTVERSION= 2.10.3
CATEGORIES= lang java
-MASTER_SITES= http://www.scala-lang.org/downloads/distrib/files/
+MASTER_SITES= http://www.scala-lang.org/files/archive/
EXTRACT_SUFX= .tgz
MAINTAINER= mitsururike@gmail.com
-COMMENT= The Scala Programming Language
+COMMENT= Scala Programming Language
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
@@ -30,41 +30,39 @@ SCALA_BINS= fsc \
scaladoc \
scalap
-MAN1= ${SCALA_BINS:S,$,.1,}
+SCALA_MANS= ${SCALA_BINS:S,$,.1,}
+PLIST_FILES= ${SCALA_BINS:S,^,bin/,} \
+ man/man1/fsc.1.gz \
+ man/man1/scala.1.gz \
+ man/man1/scalac.1.gz \
+ man/man1/scaladoc.1.gz \
+ man/man1/scalap.1.gz
-PLIST_FILES= ${SCALA_BINS:S,^,bin/,}
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
-NO_STAGE= yes
pre-patch:
@${ECHO_MSG} "Installation settings:"
@${ECHO_MSG} " SCALA_HOME: ${SCALA_HOME}"
-.include <bsd.port.options.mk>
-
do-install:
- @${MKDIR} ${SCALA_HOME}/bin
+ @${MKDIR} ${STAGEDIR}${SCALA_HOME}/bin
.for f in ${SCALA_BINS}
- @${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${SCALA_HOME}/bin/${f}
- @${LN} -s ${SCALA_HOME}/bin/${f} ${PREFIX}/bin/${f}
+ @${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${SCALA_HOME}/bin/${f}
+ @${LN} -s ${SCALA_HOME}/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
.for d in ${SCALA_SHRDIRS}
- @cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} . ${SCALA_HOME}/${d}
+ @cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${SCALA_HOME}/${d}
.endfor
-.for m in ${MAN1}
- @${INSTALL_MAN} ${WRKSRC}/man/man1/${m} ${MANPREFIX}/man/man1/${m}
+.for m in ${SCALA_MANS}
+ @${INSTALL_MAN} ${WRKSRC}/man/man1/${m} ${STAGEDIR}${MANPREFIX}/man/man1/${m}
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for d in ${SCALA_DOCDIRS}
- @cd ${WRKSRC}/doc/${d} && ${COPYTREE_SHARE} . ${DOCSDIR}/${d}
+ @cd ${WRKSRC}/doc/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${d}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/lang/scala/distinfo b/lang/scala/distinfo
index 6fc43874679c..3dfbeb7661e3 100644
--- a/lang/scala/distinfo
+++ b/lang/scala/distinfo
@@ -1,2 +1,2 @@
-SHA256 (scala-2.10.2.tgz) = f693fdbc4944a40a080866593c70c14253fca2f553a0c50a26c8c52c489666a3
-SIZE (scala-2.10.2.tgz) = 30463932
+SHA256 (scala-2.10.3.tgz) = 25d1ee0e8b3a2d3ba25e697d3f9647b30bbac9b78d922de3ce3d37cfcb484c99
+SIZE (scala-2.10.3.tgz) = 30531249