[41727] trunk/dports/graphics/fontforge/Portfile

nox at macports.org nox at macports.org
Sun Nov 9 15:46:39 PST 2008


Revision: 41727
          http://trac.macports.org/changeset/41727
Author:   nox at macports.org
Date:     2008-11-09 15:46:39 -0800 (Sun, 09 Nov 2008)
Log Message:
-----------
fontforge: Whitespace changes.

Modified Paths:
--------------
    trunk/dports/graphics/fontforge/Portfile

Modified: trunk/dports/graphics/fontforge/Portfile
===================================================================
--- trunk/dports/graphics/fontforge/Portfile	2008-11-09 23:44:44 UTC (rev 41726)
+++ trunk/dports/graphics/fontforge/Portfile	2008-11-09 23:46:39 UTC (rev 41727)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -8,15 +9,17 @@
 set docversion  20080109
 set ftversion   2.3.5
 categories      graphics fonts
+platforms       darwin
 maintainers     nomaintainer
 description     Outline and bitmap font editor/converter for many formats
+
 long_description \
-                FontForge allows you to edit outline and bitmap fonts.  You may create \
-                new ones or modify old ones.  It is also a format converter and can \
-                interconvert between PostScript (ascii & binary Type1, some Type3, \
-                some Type0), TrueType, OpenType (Type2), CID, SVG.  Previously known as \
-                pfaedit.
-platforms       darwin
+    FontForge allows you to edit outline and bitmap fonts.  You may create \
+    new ones or modify old ones.  It is also a format converter and can \
+    interconvert between PostScript (ascii & binary Type1, some Type3, \
+    some Type0), TrueType, OpenType (Type2), CID, SVG.  Previously known as \
+    pfaedit.
+
 homepage        http://fontforge.sourceforge.net/
 master_sites    sourceforge:fontforge \
                 ${homepage}:cidmaps \
@@ -25,39 +28,35 @@
 distname        ${name}_full-${version}
 dist_subdir     ${name}/${version}_${revision}
 use_bzip2       yes
+
 distfiles-append \
-                cidmaps.tgz:cidmaps \
-                ${name}_htdocs-${docversion}.tar.bz2
+    cidmaps.tgz:cidmaps \
+    ${name}_htdocs-${docversion}.tar.bz2
+
 patchfiles      patch-Makefile.dynamic.in.diff \
                 patch-configure.diff \
                 patch-fontforge_start.c.diff \
                 patch-gutils_dynamic.c.diff
-checksums       ${distname}${extract.suffix} md5 31de565d2288280e316ee6bd5b9db790 \
-                                             sha1 cce8a3618d51b5e82bfafe3e931530d1965e9b6c \
-                                             rmd160 4dff978337fc30e75ad5f2133c5d119a1445a841 \
-                cidmaps.tgz md5 063691163e592515b31514515bb3ce8c \
-                            sha1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 \
-                            rmd160 d194355e61813d31fe4813bdf10a62d66a9f6d04 \
-                ${name}_htdocs-${docversion}.tar.bz2 md5 63054ea6035ffbf8f7824e720d308fca \
-                                                     sha1 e79f0cd1de592e4cbb4f86a8b63f661daea9df37 \
-                                                     rmd160 8de4f14f88ce1f070e73af62ca055bd61f397ff3 \
-                freetype-${ftversion}${extract.suffix} md5 65234327c5ac46ee00ebda15995d4c1c \
-                                                       sha1 45695d44c74be31944d807526a7e69a818e4afd2 \
-                                                       rmd160 2a97cb1c3d93572c094d5d2890d12445ef2786d4
 
-depends_lib     lib:libX11:XFree86 \
-                port:freetype \
-                port:gettext \
-                port:giflib \
-                port:jpeg \
-                port:libiconv \
-                port:libpng \
-                port:libxml2 \
-                port:tiff \
-                port:zlib
+checksums       ${distname}${extract.suffix} \
+                md5     31de565d2288280e316ee6bd5b9db790 \
+                sha1    cce8a3618d51b5e82bfafe3e931530d1965e9b6c \
+                rmd160  4dff978337fc30e75ad5f2133c5d119a1445a841 \
+                cidmaps.tgz \
+                md5     063691163e592515b31514515bb3ce8c \
+                sha1    efbc7c9d3e95159f5600dc71f9cccb370e46bb94 \
+                rmd160  d194355e61813d31fe4813bdf10a62d66a9f6d04 \
+                ${name}_htdocs-${docversion}.tar.bz2 \
+                md5     63054ea6035ffbf8f7824e720d308fca \
+                sha1    e79f0cd1de592e4cbb4f86a8b63f661daea9df37 \
+                rmd160  8de4f14f88ce1f070e73af62ca055bd61f397ff3 \
+                freetype-${ftversion}${extract.suffix} \
+                md5     65234327c5ac46ee00ebda15995d4c1c \
+                sha1    45695d44c74be31944d807526a7e69a818e4afd2 \
+                rmd160  2a97cb1c3d93572c094d5d2890d12445ef2786d4
 
 extract.only    ${distname}${extract.suffix}
-worksrcdir      ${name}-${version}
+
 post-extract {
     file mkdir ${worksrcpath}/cidmap
     system "cd ${worksrcpath}/cidmap && gzip -dc ${distpath}/cidmaps.tgz | tar --no-same-owner -xf -"
@@ -65,21 +64,36 @@
     system "cd ${worksrcpath}/htdocs && bzip2 -dc ${distpath}/${name}_htdocs-${docversion}.tar.bz2 | tar --no-same-owner -xf -"
 }
 
+worksrcdir      ${name}-${version}
+
 post-patch {
     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure
     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/gutils/dynamic.c
 }
 
+depends_lib     lib:libX11:XFree86 \
+                port:freetype \
+                port:gettext \
+                port:giflib \
+                port:jpeg \
+                port:libiconv \
+                port:libpng \
+                port:libxml2 \
+                port:tiff \
+                port:zlib
+
 configure.args  --without-python --with-multilayer --without-freetype-bytecode --without-freetype-src
 
 use_parallel_build  yes
 
-destroot.post_args  prefix=${destroot}${prefix}
+destroot.destdir    prefix=${destroot}${prefix}
+
 post-destroot {
     delete ${destroot}${prefix}/share/man
     move ${destroot}${prefix}/man ${destroot}${prefix}/share/man
     system "strip ${destroot}${prefix}/bin/fontforge"
 }
+
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README-Mac.html README-Unix.html README-unix ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081109/3271c9d7/attachment.html>


More information about the macports-changes mailing list