aboutsummaryrefslogtreecommitdiff
path: root/lang/scala-docs
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2012-10-23 14:26:48 +0000
committerAlex Dupre <ale@FreeBSD.org>2012-10-23 14:26:48 +0000
commit38fb69522250aaddc3c6dd73ed50a6d1a927d45d (patch)
tree80b8915272a070781b3ac96a3c1ff6cf445728fb /lang/scala-docs
parentdcc227eccb85c3696cbdf5566172b5cdde1a94c9 (diff)
Notes
Diffstat (limited to 'lang/scala-docs')
-rw-r--r--lang/scala-docs/Makefile30
-rw-r--r--lang/scala-docs/distinfo2
-rw-r--r--lang/scala-docs/pkg-descr3
3 files changed, 35 insertions, 0 deletions
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/