2012-10-23 16:26:48 +02:00
|
|
|
# Created by: Alex Dupre <ale@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scala-docs
|
2015-03-25 21:32:44 +01:00
|
|
|
PORTVERSION= 2.11.6
|
2012-10-23 16:26:48 +02:00
|
|
|
CATEGORIES= lang java
|
2013-10-16 12:29:26 +02:00
|
|
|
MASTER_SITES= http://www.scala-lang.org/files/archive/
|
2012-10-23 16:26:48 +02:00
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2014-12-30 10:43:19 +01:00
|
|
|
COMMENT= Documentation for the Scala libraries & compiler
|
2012-10-23 16:26:48 +02:00
|
|
|
|
2014-12-30 10:43:19 +01:00
|
|
|
USES= tar:txz
|
2012-10-23 16:26:48 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2014-02-21 14:37:50 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-10-23 16:26:48 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
|
|
|
IGNORE= port only installs documentation
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
2013-10-16 12:29:26 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
|
2014-12-30 10:43:19 +01:00
|
|
|
@(cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DOCSDIR}/)
|
2012-10-23 16:26:48 +02:00
|
|
|
@${ECHO} " [ DONE ]"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|