caa2a4d515
JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs. WWW: http://code.google.com/closure/compiler/ PR: ports/140556 Submitted by: Gea-Suan Lin <gslin at gslin.org>
28 lines
609 B
Makefile
28 lines
609 B
Makefile
# New ports collection makefile for: closure-compiler
|
|
# Date created: 2009-11-14
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= closure-compiler
|
|
PORTVERSION= 20091113
|
|
CATEGORIES= www java
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
DISTNAME= compiler-${PORTVERSION}
|
|
|
|
MAINTAINER= gslin@gslin.org
|
|
COMMENT= Closure Compiler
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
SUB_FILES= closure-compiler
|
|
SUB_LIST= JAVA="${JAVA}"
|
|
USE_JAVA= yes
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/compiler.jar ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/closure-compiler ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|