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

name                log4erl
version             0.8.6
categories          erlang devel
license             MPL-1.1
maintainers         nomaintainer
description         A logger for erlang.
long_description    A logger for erlang in the spirit of Log4J. You \
                    can download the latest tarball from the \
                    downloads section and read README.txt file for \
                    instructions on using log4erl.
homepage            https://code.google.com/p/log4erl/
platforms           darwin
master_sites        googlecode
checksums           md5 c91b4611fdedd6b83f1a5e9471684c6e \
                    sha1 687cb98b3f79f156567c365a7d71b31c2321c703 \
                    rmd160 430b8c6b628a290e76a3ff1aa00874ad839479db
depends_lib         port:erlang

use_configure       no
set libdir ${destroot}${prefix}/lib/erlang/lib/${name}
destroot {
    xinstall -d -m 0755 ${libdir}
    copy ${worksrcpath}/ebin ${libdir}
    copy ${worksrcpath}/include ${libdir}
    copy ${worksrcpath}/priv ${libdir}
    copy ${worksrcpath}/src ${libdir}
}
