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

PORTNAME=	closure-compiler
PORTVERSION=	20120430
CATEGORIES=	www java
MASTER_SITES=	GOOGLE_CODE
DISTNAME=	compiler-${PORTVERSION}

MAINTAINER=	jlaffaye@FreeBSD.org
COMMENT=	Closure Compiler

LICENSE=	AL2

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

PLIST_DIRSTRY=	%%DATADIR%%
PLIST_FILES=	bin/closure-compiler \
		%%DATADIR%%/compiler.jar

NO_STAGE=	yes
do-install:
	${MKDIR} ${DATADIR}/
	${INSTALL_DATA} ${WRKSRC}/compiler.jar ${DATADIR}/
	${INSTALL_SCRIPT} ${WRKSRC}/closure-compiler ${PREFIX}/bin/

.include <bsd.port.mk>