# -*- 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 93041 2012-05-14 12:16:12Z jmr@macports.org $

PortSystem          1.0

name                whirlgif
version             3.04
revision            1
categories          graphics
license             Permissive
platforms           darwin
maintainers         nomaintainer

description         produces an animated GIF file composed of a series of GIF images

long_description    ${description}

homepage            http://www.danbbs.dk/~dino/whirlgif/
master_sites        ${homepage} freebsd
distname            ${name}[join [split ${version} .] {}]

checksums           md5  f34db0c396fda20f5937c489eb086850

extract.mkdir       yes

patchfiles          patch-whirlgif.c.diff

use_configure       no

variant universal {}

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

destroot {
    xinstall -m 755 -s ${worksrcpath}/whirlgif ${destroot}${prefix}/bin
    xinstall -m 644 ${worksrcpath}/whirlgif.1 ${destroot}${prefix}/share/man/man1
}
