# -*- 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
# $Id$

PortSystem          1.0

name                jlint
version             1.23
categories          lang devel
platforms           darwin
maintainers         nomaintainer
license             MIT

description         Java code verifier

long_description    Jlint will check your Java code and find bugs, \
                    inconsistencies and synchronization problems by doing \
                    data flow analysis and building lock graph.

homepage            http://www.garret.ru/lang.html
master_sites        http://www.garret.ru/

checksums           rmd160  6a093175ab3968bc9c5bae0f0f4e2948b761b87a \
                    sha256  1bc44eddffb10eb781edf21af49359f7effd5a5f7c6ea856db0672cf0b084da8

worksrcdir          ${name}

patchfiles          patch-makefile.diff

use_configure       no

variant universal {}

build.args          CC=${configure.cxx}
build.env           CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
                    LFLAGS="${configure.ldflags} [get_canonical_archflags ld]"

destroot.destdir    INSTALL_DIR=${destroot}${prefix}/bin