# -*- 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 137581 2015-06-15 03:24:40Z ryandesign@macports.org $ PortSystem 1.0 PortGroup perl5 1.0 name fntsample version 3.2 categories fonts graphics print maintainers mojca openmaintainer platforms darwin license GPL3+ 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 921668eace359a21881d7df7ec4a1dd8d11a97d9 \ sha256 54ed7ac19dbcee82f9d66ff0c2aec6f63036e220e710849405e881ad58e27ef5 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.18 5.20 5.22 perl5.create_variants ${perl5.branches} depends_build port:pkgconfig \ port:gettext \ port:perl${perl5.major} depends_lib path:lib/pkgconfig/cairo.pc:cairo \ port:fontconfig \ port:freetype \ 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 patchfiles patch-Makefile.diff 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 }