# -*- 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 86442 2011-10-25 23:26:48Z ryandesign@macports.org $

PortSystem          1.0

name                gifshuffle
version             2.0
categories          graphics
platforms           darwin
maintainers         ryandesign
license             public-domain

description         GIF Colourmap Steganography: conceal messages in GIF images

long_description    gifshuffle is used to conceal messages in GIF images by \
                    shuffling the colourmap, which leaves the image visibly \
                    unchanged. gifshuffle works with all GIF images, \
                    including those with transparency and animation, and in \
                    addition provides compression and encryption of the \
                    concealed message.

homepage            http://www.darkside.com.au/gifshuffle/
master_sites        ${homepage}
distname            ${name}
dist_subdir         ${name}/${version}

checksums           rmd160  2b08f2dd8414e4c24754219d2ab7814bf7135e22 \
                    sha256  5341ccbe850cb687213fa664ba3a791f5b304278fad8a9b09df172c53a829342

use_configure       no

variant universal {}

build.target
build.args          CC="${configure.cc} [get_canonical_archflags]" \
                    CFLAGS="${configure.cflags}"

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

livecheck.type      regex
livecheck.regex     ${name} (\[0-9.\]+)
