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

github.setup        pts lzw_codec 54be8e96e64bf56525996b1c41b424b827728a00
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             0.11
epoch               1
categories          graphics
license             GPL-2
maintainers         {takeshi @tenomoto} openmaintainer
description         LZW compressor and decompressor in C
long_description \
    lzw_codec is an LZW compressor and decompressor implemented in ANSI C. \
    It's binary-compatible with PDF /LZWDecode and PostScript /LZWEncode filters \
    if the filters are used without parameters.

checksums           rmd160  77b3ad8f91ce2061cfe5306a074ba0533f0bbd47 \
                    sha256  1009a85d6b535277aaef973abbedd9f35d15e611dd53d0863298cca0f6afd2cb \
                    size    12876

use_configure       no

build.target        ""
build.args          CC=${configure.cc} \
                    CWFLAGS=\"${configure.cflags}\"

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