# -*- 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 pslib version 0.4.6 revision 2 checksums rmd160 71eea9b1e1e36b6b27ca3ae9cef1172e697b1738 \ sha256 642e8405c85dc2ebcd307e0b46ed3d366fd28de098c6d8b717720689270b2954 \ size 543950 categories print maintainers nomaintainer license {GPL-2+ LGPL-2+} platforms darwin description C-library to create PostScript files on the fly long_description \ pslib is a C-library to create PostScript files on the fly. \ It offers many drawing primitives, inclusion of png and eps images \ and a very sophisticated text rendering including hyphenation, kerning and ligatures. \ It can read external Type1 fonts and embed them into the output file. \ It supports pdfmarks which makes it in combination with ghostscript's pdfwriter \ an alternative for libraries creating PDF. homepage http://pslib.sourceforge.net/ master_sites sourceforge:project/pslib/pslib/${version} depends_lib port:libpng \ path:include/turbojpeg.h:libjpeg-turbo \ port:giflib \ port:tiff post-extract { move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac } patchfiles-append patch-autogen.sh.diff \ patch-src-bmp.c.diff post-patch { reinplace "s|%PREFIX%|${prefix}|g" \ ${worksrcpath}/autogen.sh } use_autoreconf yes autoreconf.cmd ./autogen.sh depends_build port:autoconf \ port:automake \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:intltool \ port:libtool configure.args-append --with-png=${prefix} \ --with-jpeg=${prefix} \ --with-gif=${prefix} \ --with-tiff=${prefix} configure.cppflags-append -DHAVE_LIBGIF configure.ldflags-append -lgif destroot.target install-strip use_parallel_build yes