aboutsummaryrefslogtreecommitdiff
path: root/www/closure-compiler/Makefile
blob: ed772bac25b96be0c6a8b2e5beb56809b86758cf (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
# Created by: Gea-Suan Lin <gslin@gslin.org>

PORTNAME=	closure-compiler
PORTVERSION=	20180805
CATEGORIES=	www java
MASTER_SITES=	http://dl.google.com/closure-compiler/
DISTNAME=	compiler-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Closure Compiler

LICENSE=	APACHE20

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
SUB_FILES=	closure-compiler
SUB_LIST=	JAVA="${JAVA}" PORTVERSION=${PORTVERSION}
USE_JAVA=	yes

PLIST_FILES=	bin/closure-compiler \
		${DATADIR}/closure-compiler-v${PORTVERSION}.jar

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}/
	${INSTALL_DATA} ${WRKSRC}/closure-compiler-v${PORTVERSION}.jar ${STAGEDIR}${DATADIR}/
	${INSTALL_SCRIPT} ${WRKDIR}/closure-compiler ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>