# -*- 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
# $Id: Portfile 114023 2013-11-27 14:44:47Z michaelld@macports.org $

PortSystem              1.0
PortGroup               cmake 1.0

name                    libLASi
version                 1.1.1
revision                1
categories              print
license                 LGPL
maintainers             takeshi 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                http://www.unifont.org/lasi/
platforms               darwin
master_sites            sourceforge:lasi
checksums           md5     bc5161b1d820db3dbcea24ce1c2ed5ec \
                    sha1    d17fdebf4bb4a29512e321c7af157a694dc855a0 \
                    rmd160  dc9efdef39615b4c293c61e3506ee8f2e66bc751

depends_build-append    port:pkgconfig

depends_lib             path:lib/pkgconfig/pango.pc:pango

patchfiles              patch-freetype-2.5.1.diff

# remove top-level include path, such that internal headers are used
# instead of any already-installed ones.

configure.cppflags-delete -I${prefix}/include

# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.

configure.ldflags-delete -L${prefix}/lib

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         {New Release Announcement: libLASi-([0-9]+\.[0-9]+\.[0-9]+)}
