# -*- 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: Portfile 92289 2012-04-24 02:42:31Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0

github.setup        douglascrockford JSMin 20120415
name                jsmin
categories          lang
maintainers         sergiokas.com:dev openmaintainer
platforms           darwin
license             MIT

description         JavaScript minifier tool

long_description    Douglas Crockford's original JavaScript minifier tool

homepage            http://www.crockford.com/javascript/jsmin.html
fetch.type          git
git.branch          5ca277ea452beae1c25db3bc0ef5c81309a3daf4

use_configure       no

variant universal {}

build.cmd           ${configure.cc}
build.args          [get_canonical_archflags cc] -Wall -o jsmin
build.target        jsmin.c

destroot {
    xinstall ${worksrcpath}/jsmin ${destroot}${prefix}/bin/jsmin
}
