aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2012-10-23 22:26:48 +0800
committerale <ale@FreeBSD.org>2012-10-23 22:26:48 +0800
commitcee191a16024c0c95ef648c8516301bb7d8dce74 (patch)
tree80b8915272a070781b3ac96a3c1ff6cf445728fb /lang
parentdddc96f4a719c1240a9e8daf2e5b2cc3b1d02084 (diff)
downloadfreebsd-ports-gnome-cee191a16024c0c95ef648c8516301bb7d8dce74.tar.gz
freebsd-ports-gnome-cee191a16024c0c95ef648c8516301bb7d8dce74.tar.zst
freebsd-ports-gnome-cee191a16024c0c95ef648c8516301bb7d8dce74.zip
The documentation for the Scala standard library.
WWW: http://www.scala-lang.org/ Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/scala-docs/Makefile30
-rw-r--r--lang/scala-docs/distinfo2
-rw-r--r--lang/scala-docs/pkg-descr3
4 files changed, 36 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 838c3e0f8bba..f3876193747c 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -305,6 +305,7 @@
SUBDIR += sather-tutorial
SUBDIR += sbcl
SUBDIR += scala
+ SUBDIR += scala-docs
SUBDIR += scheme48
SUBDIR += schemetoc
SUBDIR += scm
diff --git a/lang/scala-docs/Makefile b/lang/scala-docs/Makefile
new file mode 100644
index 000000000000..ba32c3c24343
--- /dev/null
+++ b/lang/scala-docs/Makefile
@@ -0,0 +1,30 @@
+# Created by: Alex Dupre <ale@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= scala-docs
+PORTVERSION= 2.9.2
+CATEGORIES= lang java
+MASTER_SITES= http://www.scala-lang.org/downloads/distrib/files/
+EXTRACT_SUFX= .txz
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= The documentation for the Scala standard library
+
+USE_XZ= yes
+NO_BUILD= yes
+
+PORTDOCS= *
+
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
+IGNORE= port only installs documentation
+.endif
+
+do-install:
+ @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${MKDIR} ${DOCSDIR}
+ @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/)
+ @${ECHO} " [ DONE ]"
+
+.include <bsd.port.mk>
diff --git a/lang/scala-docs/distinfo b/lang/scala-docs/distinfo
new file mode 100644
index 000000000000..feccf716aab4
--- /dev/null
+++ b/lang/scala-docs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (scala-docs-2.9.2.txz) = a701a7a1f64f7f42cfa2b4bcd60ba2adb6f71e5f0c76089fac350fed337ddfbc
+SIZE (scala-docs-2.9.2.txz) = 1818412
diff --git a/lang/scala-docs/pkg-descr b/lang/scala-docs/pkg-descr
new file mode 100644
index 000000000000..22ee9ec7aead
--- /dev/null
+++ b/lang/scala-docs/pkg-descr
@@ -0,0 +1,3 @@
+The documentation for the Scala standard library.
+
+WWW: http://www.scala-lang.org/