# $Id: Portfile 73517 2010-11-16 09:22:44Z jmr@macports.org $

PortSystem 1.0
name		javascript-lint
version		0.3.0
categories	lang devel
platforms	darwin
maintainers	wilcoxd.com:rwilcox
description	Lint program for JavaScript
long_description JavaScript Lint lets you check all your JavaScript source code \
		for common mistakes without actually running the script or opening \
		the web page.
homepage	http://www.javascriptlint.com/
master_sites	http://www.javascriptlint.com/download/
distname	jsl-${version}-src
checksums	md5 2b94ffa4fab07acabe0c5e73cd49bcdf

patchfiles	patch-jsprf.c

use_configure	no
worksrcdir	jsl-${version}/src

use_parallel_build no
build.pre_args	-f Makefile.ref
build.target

destroot {
	file copy ${worksrcpath}/Darwin_DBG.OBJ/jsl ${destroot}${prefix}/bin/
}
