source: trunk/dports/graphics/fntsample/Portfile @ 144569

Last change on this file since 144569 was 144569, checked in by devans@…, 3 years ago

ports with perl5 variants: increment revision to rebuild after removal of support for perl5 < 5.22.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 144569 2016-01-12 23:55:48Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                fntsample
8version             3.2
9revision            2
10categories          graphics fonts print
11maintainers         mojca openmaintainer
12platforms           darwin
13license             GPL-3+
14
15description         Font samples generator
16long_description    FntSample is a tool that can be used to make font samples \
17                    that show coverage of the font and are similar in appearance \
18                    to Unicode Charts.
19
20homepage            http://fntsample.sourceforge.net/
21
22master_sites        sourceforge:project/fntsample/fntsample/${version}/
23
24checksums           rmd160  921668eace359a21881d7df7ec4a1dd8d11a97d9 \
25                    sha256  54ed7ac19dbcee82f9d66ff0c2aec6f63036e220e710849405e881ad58e27ef5
26
27perl5.require_variant   yes
28perl5.conflict_variants yes
29perl5.branches          5.22
30perl5.create_variants   ${perl5.branches}
31
32depends_build       port:pkgconfig \
33                    port:gettext \
34                    port:perl${perl5.major}
35
36depends_lib         path:lib/pkgconfig/cairo.pc:cairo \
37                    port:fontconfig \
38                    port:freetype \
39                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
40                    path:lib/pkgconfig/pango.pc:pango
41
42depends_run         port:perl${perl5.major} \
43                    port:p${perl5.major}-libintl-perl \
44                    port:p${perl5.major}-pdf-api2
45
46patchfiles          patch-Makefile.diff
47
48configure.args      --with-unicode-blocks=${prefix}/lib/perl5/${perl5.major}/unicore/Blocks.txt
49
50post-patch {
51    reinplace -W ${worksrcpath} "s|^#! /usr/bin/perl|#! ${prefix}/bin/perl${perl5.major}|g" pdfoutline.pl
52}
Note: See TracBrowser for help on using the repository browser.