[137569] trunk/dports/graphics

mojca at macports.org mojca at macports.org
Sun Jun 14 11:39:47 PDT 2015


Revision: 137569
          https://trac.macports.org/changeset/137569
Author:   mojca at macports.org
Date:     2015-06-14 11:39:47 -0700 (Sun, 14 Jun 2015)
Log Message:
-----------
fntsample: new port

Added Paths:
-----------
    trunk/dports/graphics/fntsample/
    trunk/dports/graphics/fntsample/Portfile
    trunk/dports/graphics/fntsample/files/
    trunk/dports/graphics/fntsample/files/patch-Makefile.diff

Added: trunk/dports/graphics/fntsample/Portfile
===================================================================
--- trunk/dports/graphics/fntsample/Portfile	                        (rev 0)
+++ trunk/dports/graphics/fntsample/Portfile	2015-06-14 18:39:47 UTC (rev 137569)
@@ -0,0 +1,51 @@
+# -*- 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$
+
+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
+
+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         port:cairo \
+                    port:fontconfig \
+                    port:freetype \
+                    port:glib2 \
+                    port: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
+}


Property changes on: trunk/dports/graphics/fntsample/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/fntsample/files/patch-Makefile.diff
===================================================================
--- trunk/dports/graphics/fntsample/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/graphics/fntsample/files/patch-Makefile.diff	2015-06-14 18:39:47 UTC (rev 137569)
@@ -0,0 +1,22 @@
+#--- Makefile.am.orig
+#+++ Makefile.am
+#@@ -7,7 +7,7 @@ bin_SCRIPTS = pdfoutline
+# fntsample_SOURCES = fntsample.c unicode_blocks.h
+# nodist_fntsample_SOURCES = unicode_blocks.c
+# fntsample_CPPFLAGS = $(AM_CPPFLAGS) $(cairo_CFLAGS) $(fontconfig_CFLAGS) $(freetype2_CFLAGS) $(glib_CFLAGS) $(pangocairo_CFLAGS)
+#-fntsample_LDFLAGS = -Wl,--as-needed
+#+fntsample_LDFLAGS =
+# fntsample_LDADD = @LIBINTL@ -lm $(cairo_LIBS) $(fontconfig_LIBS) $(freetype2_LIBS) $(glib_LIBS) $(pangocairo_LIBS)
+# 
+# nodist_man_MANS = fntsample.1 pdfoutline.1
+--- Makefile.in.orig
++++ Makefile.in
+@@ -301,7 +301,7 @@ bin_SCRIPTS = pdfoutline
+ fntsample_SOURCES = fntsample.c unicode_blocks.h
+ nodist_fntsample_SOURCES = unicode_blocks.c
+ fntsample_CPPFLAGS = $(AM_CPPFLAGS) $(cairo_CFLAGS) $(fontconfig_CFLAGS) $(freetype2_CFLAGS) $(glib_CFLAGS) $(pangocairo_CFLAGS)
+-fntsample_LDFLAGS = -Wl,--as-needed
++fntsample_LDFLAGS =
+ fntsample_LDADD = @LIBINTL@ -lm $(cairo_LIBS) $(fontconfig_LIBS) $(freetype2_LIBS) $(glib_LIBS) $(pangocairo_LIBS)
+ nodist_man_MANS = fntsample.1 pdfoutline.1
+ EXTRA_DIST = config.rpath genblocks.awk pdfoutline.pl po/Changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150614/d8cb578d/attachment-0001.html>


More information about the macports-changes mailing list