[107821] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Sat Jul 6 01:26:25 PDT 2013


Revision: 107821
          https://trac.macports.org/changeset/107821
Author:   ryandesign at macports.org
Date:     2013-07-06 01:26:24 -0700 (Sat, 06 Jul 2013)
Log Message:
-----------
mongodb, oracle-instantclient, curl, VillainousStyle, pure-gen, MyPaint, keybinder, fontconfig, graphviz-oldgui, openni, ttf2eot: use eq and ne for string comparisons

Modified Paths:
--------------
    trunk/dports/databases/mongodb/Portfile
    trunk/dports/databases/oracle-instantclient/Portfile
    trunk/dports/devel/VillainousStyle/Portfile
    trunk/dports/devel/pure-gen/Portfile
    trunk/dports/gnome/keybinder/Portfile
    trunk/dports/graphics/MyPaint/Portfile
    trunk/dports/graphics/fontconfig/Portfile
    trunk/dports/graphics/graphviz-oldgui/Portfile
    trunk/dports/graphics/openni/Portfile
    trunk/dports/net/curl/Portfile
    trunk/dports/print/ttf2eot/Portfile

Modified: trunk/dports/databases/mongodb/Portfile
===================================================================
--- trunk/dports/databases/mongodb/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/databases/mongodb/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -87,7 +87,7 @@
 startupitem.create      yes
 startupitem.executable  sudo -u ${mongouser} ${prefix}/bin/mongod --dbpath ${dbdir} --logpath ${logdir}/mongodb.log --logappend
 
-if {${os.platform} == "darwin" && ${os.major} < 10} {
+if {${os.platform} eq "darwin" && ${os.major} < 10} {
     depends_build
     depends_lib
     pre-fetch {

Modified: trunk/dports/databases/oracle-instantclient/Portfile
===================================================================
--- trunk/dports/databases/oracle-instantclient/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/databases/oracle-instantclient/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -16,7 +16,7 @@
 long_description \
     Oracle Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME.
 
-if {"powerpc" == ${os.arch}} {
+if {${os.arch} eq "powerpc"} {
     epoch               1
     version             10.1.0.3
     if {${os.major} > 8} {
@@ -70,7 +70,7 @@
     set my_library_prefix(i386)     /ade/b/233679120
     set my_library_prefix(x86_64)   /ade/b/2649109290
     
-    if {${os.platform} == "darwin" && ${os.major} < 9} {
+    if {${os.platform} eq "darwin" && ${os.major} < 9} {
         pre-fetch {
             ui_error "${name} on Intel requires OS X 10.5 or greater."
             return -code error "incompatible OS X version"
@@ -101,7 +101,7 @@
     set bad_distfiles {}
     foreach distfile ${distfiles} {
         set distfile [strsed ${distfile} {/:.*$//}]
-        if {![catch {strsed [exec [findBinary file $portutil::autoconf::file_path] ${distpath}/${distfile} --brief --mime] {s/;.*$//}} mimetype] && "text/html" == ${mimetype}} {
+        if {![catch {strsed [exec [findBinary file $portutil::autoconf::file_path] ${distpath}/${distfile} --brief --mime] {s/;.*$//}} mimetype] && ${mimetype} eq "text/html"} {
             lappend bad_distfiles ${distfile}
             file delete ${distpath}/${distfile}
         }

Modified: trunk/dports/devel/VillainousStyle/Portfile
===================================================================
--- trunk/dports/devel/VillainousStyle/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/devel/VillainousStyle/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -32,7 +32,7 @@
     }
 }
 
-if {${name} == ${subport}} {
+if {${name} eq ${subport}} {
     supported_archs     noarch
     distfiles
     

Modified: trunk/dports/devel/pure-gen/Portfile
===================================================================
--- trunk/dports/devel/pure-gen/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/devel/pure-gen/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -51,7 +51,7 @@
     set gcc_version             4.7
 }
 if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
-    if {${os.platform} == "darwin" && ${os.major} < 9} {
+    if {${os.platform} eq "darwin" && ${os.major} < 9} {
         # gcc44 doesn't build for me on Tiger
         default_variants +gcc43
     } else {

Modified: trunk/dports/gnome/keybinder/Portfile
===================================================================
--- trunk/dports/gnome/keybinder/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/gnome/keybinder/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -33,7 +33,7 @@
                     --disable-gtk-doc \
                     --disable-lua
 
-if {${name} == ${subport}} {
+if {${name} eq ${subport}} {
     configure.args-append       --disable-python
     
     # gobject-introspection uses $CC from env

Modified: trunk/dports/graphics/MyPaint/Portfile
===================================================================
--- trunk/dports/graphics/MyPaint/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/graphics/MyPaint/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -73,7 +73,7 @@
     # Because we must set --install-sandbox to a relative path for now, multiple pre-destroot
     # directories get created, which must now be combined; see https://gna.org/bugs/?20399
     fs-traverse d ${worksrcpath} {
-        if {[file tail ${d}] == "pre-destroot"} {
+        if {[file tail ${d}] eq "pre-destroot"} {
             ui_debug "merging ${d} with destroot"
             system -W ${destroot} "tar -C ${d} -c -f - .${prefix} | tar -x -p -v -f -"
         }

Modified: trunk/dports/graphics/fontconfig/Portfile
===================================================================
--- trunk/dports/graphics/fontconfig/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/graphics/fontconfig/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -30,7 +30,7 @@
                             port:expat \
                             port:freetype
 
-if {${os.platform} == "darwin" && ${os.major} < 9} {
+if {${os.platform} eq "darwin" && ${os.major} < 9} {
     set add_fonts           /usr/X11R6/lib/X11/fonts
 } else {
     set add_fonts           /usr/X11/lib/X11/fonts
@@ -72,7 +72,7 @@
 
 merger_arch_flag            no
 merger_arch_compiler        yes
-if { ${os.arch}=="i386" } {
+if {${os.arch} eq "i386"} {
     if { ${os.major} >= 10 } {
         set merger_configure_args(ppc) --with-arch=ppc
         set merger_configure_env(ppc)  CC_FOR_BUILD=${configure.cc}

Modified: trunk/dports/graphics/graphviz-oldgui/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-oldgui/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/graphics/graphviz-oldgui/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -49,7 +49,7 @@
     delete ${worksrcpath}/Graphviz.app/Contents/Frameworks
     # Remove the .DS_Store files that we don't really want to install.
     fs-traverse item ${worksrcpath} {
-        if {".DS_Store" == [file tail ${item}] && [file isfile ${item}]} {
+        if {[file tail ${item}] eq ".DS_Store" && [file isfile ${item}]} {
             delete ${item}
         }
     }

Modified: trunk/dports/graphics/openni/Portfile
===================================================================
--- trunk/dports/graphics/openni/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/graphics/openni/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -27,7 +27,7 @@
 depends_lib         port:libusb
 
 pre-fetch {
-    if {${os.platform} == "darwin" && ${os.major} < 10} {
+    if {${os.platform} eq "darwin" && ${os.major} < 10} {
         ui_error "${name} ${version} requires OS X 10.6 or greater."
         return -code error "incompatible OS X version"
     }

Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/net/curl/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -28,7 +28,7 @@
                                 rmd160  e8fac9e4a80a20c3cef79615286722183abfd335 \
                                 sha256  a73b118eececff5de25111f35d1d0aafe1e71afdbb83082a8e44d847267e3e08
 
-if {${name} == ${subport}} {
+if {${name} eq ${subport}} {
     PortGroup                   muniversal 1.0
 
     depends_build               port:pkgconfig

Modified: trunk/dports/print/ttf2eot/Portfile
===================================================================
--- trunk/dports/print/ttf2eot/Portfile	2013-07-06 08:12:34 UTC (rev 107820)
+++ trunk/dports/print/ttf2eot/Portfile	2013-07-06 08:26:24 UTC (rev 107821)
@@ -24,7 +24,7 @@
                         rmd160  9710d38f4c33a42863d3c4a5aceffe6aac55f0ec
 
 pre-fetch {
-    if {"big" == ${os.endian}} {
+    if {${os.endian} eq "big"} {
         ui_error "${name} does not currently work on PowerPC Macs."
         ui_error "See http://code.google.com/p/ttf2eot/issues/detail?id=14"
         return -code error "incompatible processor"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130706/f6143c7b/attachment.html>


More information about the macports-changes mailing list