[137070] trunk/dports/print/ghostscript/Portfile

larryv at macports.org larryv at macports.org
Wed Jun 3 22:53:48 PDT 2015


Revision: 137070
          https://trac.macports.org/changeset/137070
Author:   larryv at macports.org
Date:     2015-06-03 22:53:48 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
ghostscript: Remove unnecessary quotes

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2015-06-04 03:49:33 UTC (rev 137069)
+++ trunk/dports/print/ghostscript/Portfile	2015-06-04 05:53:48 UTC (rev 137070)
@@ -73,7 +73,7 @@
 #   MacPorts's lcms2 is 2.4 and it doesn't support cmsPluginTHR() yet.
 #   foreach d {freetype jbig2dec jpeg lcms2 libpng tiff zlib} 
     foreach d {freetype jbig2dec jpeg       libpng tiff zlib} {
-        move "${worksrcpath}/${d}" "${worksrcpath}/${d}_local"
+        move ${worksrcpath}/${d} ${worksrcpath}/${d}_local
     }
 
     #move ${workpath}/MappingOther/Adobe-CNS1-ETen-B5 ${workpath}/MappingOther/Adobe-CNS1-ETenms-B5
@@ -82,13 +82,13 @@
 }
 
 post-patch {
-    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/base/unix-dll.mak
-    reinplace "s|ZLIBDIR=src|ZLIBDIR=${prefix}/include|" configure.ac
+    reinplace s|__PREFIX__|${prefix}| ${worksrcpath}/base/unix-dll.mak
+    reinplace s|ZLIBDIR=src|ZLIBDIR=${prefix}/include| configure.ac
 
     # Ensure that MacPorts perl is used
     fs-traverse f ${worksrcpath} {
-        if [string match "*.pl" ${f}] {
-            reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" ${f}
+        if [string match *.pl ${f}] {
+            reinplace s|#!/usr/bin/perl|#!${prefix}/bin/perl| ${f}
         }
     }
 }
@@ -98,9 +98,9 @@
 
 # Make included OpenJPEG uses its own headers rather than the system ones
 configure.cppflags-delete \
-                    "-I${prefix}/include"
+                    -I${prefix}/include
 configure.cppflags-append \
-                    "-isystem${prefix}/include"
+                    -isystem${prefix}/include
 
 configure.args      --disable-compile-inits \
                     --disable-cups \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150603/d8cd90a5/attachment.html>


More information about the macports-changes mailing list