# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        thenatefisher smlr 0.0.6
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories          sysutils
license             MIT
maintainers         @thenatefisher openmaintainer

description         Text truncation utility
long_description    smlr reduces the size of a text input based on \
    specified parameters. It makes your string smaller, if it's too big.

checksums           sha256  4641de211cd5d7ab7df5508568cf885920dce0046900c73656f5a5d6a81e7982 \
                    rmd160  95a6d0a71604993b31bbb4c468299e176ad028d2

patchfiles          patch-Makefile.diff

variant universal {}

use_configure       no
build.env           CC=${configure.cc} \
                    "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
                    "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" \
                    PREFIX=${prefix}

destroot.env        PREFIX=${destroot}${prefix}
