# -*- 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        peha deco 1.6.4
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories          archivers
license             GPL-3
maintainers         nomaintainer

description         file extraction framework

long_description    deco is a Un*x program, written in SUSv3-compliant C99, \
                    that is able to extract various archive file formats. \
                    It focuses on consistent behavior and has a modular \
                    pluggable extraction engine backend.

checksums           rmd160  69ffd4f863ee2fff48f591650ac291d657950154 \
                    sha256  0f83cecc45b866edcb00f0f1322bcf23ea5a4255583d944dc4eaced0a39c5b22 \
                    size    23168

depends_run         port:deco-archive

variant universal   {}

use_configure       no

build.target        ${name}

build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
                    LDFLAGS="${configure.ldflags}" PREFIX="${prefix}"

destroot.args       PREFIX=${prefix}
