# -*- 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
PortGroup           github 1.0

github.setup        mde jake 0.3.8 v
revision            1
platforms           darwin
categories          devel
maintainers         ryandesign openmaintainer
license             Apache-2
supported_archs     noarch

description         JavaScript build tool for Node.js, similar to make or rake

long_description    ${name} is a ${description}.

checksums           rmd160  f8726a5035bb4e9584120fc72c9f6b5fbc248067 \
                    sha256  bc61698f3b956826e0c5b115fd8061cd52504882861fe1edc74396ee08f51a24

depends_lib         path:bin/node:nodejs4

use_configure       no

destroot.args       PREFIX=${prefix}

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    ln -s ../../../lib/node_modules/jake/README.md ${docdir}
}