# -*- 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

name                libtranscript
version             0.3.3
revision            0

homepage            https://os.ghalkes.nl/

description         \
    ${name} is a character-set conversion library, much like the iconv set of \
    functions.

long_description    \
    {*}${description} The library allows great control over the conversions. \
    It was designed for use in programs which use Unicode internally, using \
    UTF-8, UTF-16 or UTF-32/UCS-4.

categories          devel textproc
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  98012fe5cd32e96c770205f5e41408f04a003d76 \
                    sha256  1f8c19f257da5d6fad0ed9a7e5bd2442819e910a19907c38e115116a3955f5fa \
                    size    1960626

depends_build-append \
                    port:libtool \
                    port:pkgconfig

master_sites        ${homepage}/dist/
distname            ${name}-${version}
use_bzip2           yes

patchfiles-append   patch-config.pkg.diff

configure.env-append \
                    LIBTOOL=${prefix}/bin/glibtool
configure.args-append \
                    --without-gettext
