# -*- 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 115019 2013-12-22 09:29:46Z ryandesign@macports.org $

PortSystem          1.0

name                imecho
version             0.1
revision            2
categories          graphics mail
maintainers         nomaintainer
license             GPL-2+
homepage            http://jrfonseca.dyndns.org/projects/old/imecho.html
description         command line utility to display images in an xterm

long_description    ${name} is a ${description}. \
                    Once drawn the pictures are never refreshed, so certain \
                    operations as resizing, scrolling or partially obscuring\
                    the terminal window will clear the picture\
                    permanently. Depending on the X terminal used your\
                    mileage will vary.

platforms           darwin
master_sites        http://jrfonseca.dyndns.org/projects/old/
use_bzip2           yes

checksums           md5 b0282ecc0506f694b49fcfc28f00829b

depends_lib         port:imlib \
                    port:libpng

extract.mkdir       yes

use_configure       no

variant universal {}

build.args          CC="${configure.cc} [get_canonical_archflags cc]"

destroot    {
        xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
}
