# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup douglascrockford JSLint b38a8d9db9ead37fa812 name jslint version 2011-05-10 categories lang license JSON maintainers nomaintainer platforms any supported_archs noarch description The JavaScript Code Quality Tool long_description JSLint is a JavaScript program that looks for problems in \ JavaScript programs. It is a code quality tool. homepage https://www.jslint.com/ checksums rmd160 efdb80e9ee7da9f683b5ac9100ec65be130cd3ad \ sha256 25f9c0d15db7560022925b9ef53f9f4793c7b5e434c924f1673d187fd30db720 \ size 61414 depends_lib port:spidermonkey patchfiles patch-jslint.js.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/jslint.js } configure { if {[catch {exec ${prefix}/bin/js -e "File;"} openerror]} { ui_error "You need to install spidermonkey with the +fileobject variant in order to use ${name}." return -code error "incompatible spidermonkey installation" } } build {} destroot { xinstall ${worksrcpath}/jslint.js ${destroot}${prefix}/bin/jslint }