summaryrefslogtreecommitdiff
path: root/lang/scala-docs/Makefile
blob: 7a1ad9b09e34ef187afc7bf60496cc8387decf7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$

PORTNAME=	scala-docs
PORTVERSION=	2.13.1
CATEGORIES=	lang java
MASTER_SITES=	http://www.scala-lang.org/files/archive/

MAINTAINER=	ale@FreeBSD.org
COMMENT=	Documentation for the Scala libraries & compiler

LICENSE=	APACHE20

USES=		tar:txz

NO_BUILD=	yes
NO_ARCH=	yes

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

DOCS_IGNORE_OFF=port only installs documentation

WRKSRC=		${WRKDIR}/scala-${PORTVERSION}

#PORTSCOUT=	limit:^2\.13\.

do-install:
	@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
	@(cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DOCSDIR}/)
	@${ECHO} " [ DONE ]"

.include <bsd.port.mk>