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

if {[string match *gcc* ${configure.compiler}]} {
    PortGroup           muniversal 1.0
}

name                    libLASi
version                 1.1.3
revision                1
checksums               rmd160  9f18235090fcd5ac7b633ed119b0757816fd1b37 \
                        sha256  5e5d2306f7d5a275949fb8f15e6d79087371e2a1caa0d8f00585029d1b47ba3b \
                        size    726769

categories              print
license                 LGPL
maintainers             {takeshi @tenomoto} openmaintainer

description             unicode PostScript printing engine
long_description        libLASi is a library written by Larry Siden that provides \
                        a C++ stream output interface ( with operator << ) for    \
                        creating PostScript documents that can contain characters \
                        from any of the scripts and symbol blocks supported in    \
                        Unicode and by Owen Taylor's Pango layout engine.

homepage                https://unifont.org/lasi/
master_sites            sourceforge:project/lasi/lasi/${version}%20Source/

depends_build-append    port:pkgconfig

depends_lib             port:fontconfig \
                        port:freetype \
                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
                        port:gettext-runtime \
                        path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
                        path:lib/pkgconfig/pango.pc:pango

cmake.build_type        Release

build.target            LASi/fast

livecheck.distname      ${name}
