freebsd-ports/lang/scala-docs/Makefile

32 lines
658 B
Makefile
Raw Normal View History

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= scala-docs
PORTVERSION= 2.11.6
CATEGORIES= lang java
2013-10-16 12:29:26 +02:00
MASTER_SITES= http://www.scala-lang.org/files/archive/
MAINTAINER= ale@FreeBSD.org
2014-12-30 10:43:19 +01:00
COMMENT= Documentation for the Scala libraries & compiler
2014-12-30 10:43:19 +01:00
USES= tar:txz
NO_BUILD= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.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}/)
@${ECHO} " [ DONE ]"
.include <bsd.port.mk>