# -*- 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 perl5 1.0 name fntsample version 4.1 revision 4 categories graphics fonts print maintainers {mojca @mojca} openmaintainer platforms darwin license GPL-3+ description Font samples generator long_description FntSample is a tool that can be used to make font samples \ that show coverage of the font and are similar in appearance \ to Unicode Charts. homepage http://fntsample.sourceforge.net/ master_sites sourceforge:project/fntsample/fntsample/${version}/ checksums rmd160 1ad126aab52ff3e553a0a4071280bdeba59b540d \ sha256 1824f7e452b56671cf451819a46af70db549213e5c189e6b3cda273cd05e2411 perl5.branches 5.34 depends_build port:pkgconfig \ port:gettext \ port:perl${perl5.major} depends_lib path:lib/pkgconfig/cairo.pc:cairo \ port:fontconfig \ port:freetype \ port:libiconv \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ path:lib/pkgconfig/pango.pc:pango depends_run port:perl${perl5.major} \ port:p${perl5.major}-libintl-perl \ port:p${perl5.major}-pdf-api2 configure.args --with-unicode-blocks=${prefix}/lib/perl5/${perl5.major}/unicore/Blocks.txt post-patch { reinplace -W ${worksrcpath} "s|^#! /usr/bin/perl|#! ${prefix}/bin/perl${perl5.major}|g" pdfoutline.pl } # this patch is only available in MacPorts; not sure what exactly to ask upstream # the original colors are "useless" for print variant brightcolors description {Use brighter colors in tables (consume less ink)} { patchfiles patch-color.diff }