[128750] trunk/dports/aqua/namebench/Portfile

larryv at macports.org larryv at macports.org
Thu Nov 27 00:53:44 PST 2014


Revision: 128750
          https://trac.macports.org/changeset/128750
Author:   larryv at macports.org
Date:     2014-11-27 00:53:44 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
namebench: Rearrange and reformat

Modified Paths:
--------------
    trunk/dports/aqua/namebench/Portfile

Modified: trunk/dports/aqua/namebench/Portfile
===================================================================
--- trunk/dports/aqua/namebench/Portfile	2014-11-27 08:53:39 UTC (rev 128749)
+++ trunk/dports/aqua/namebench/Portfile	2014-11-27 08:53:44 UTC (rev 128750)
@@ -8,35 +8,39 @@
 version             1.3.1
 revision            1
 categories          aqua sysutils
+platforms           darwin
+license             Apache-2
 maintainers         nomaintainer
-license             Apache-2
+
 description         DNS speed benchmark tool (GUI)
-long_description    \
-    namebench hunts down the fastest DNS servers available for your computer. \
-    namebench runs a fair and thorough benchmark using your web browser history, \
-    tcpdump output, or standardized datasets in order to provide an \
-    individualized recommendation. \
-    \
-    This port installs the Cocoa GUI interface. To install just the command \
-    line interface, which the Cocoa GUI interface depends on, install the \
-    "py27-libnamebench" port.
-    
+long_description    namebench hunts down the fastest DNS servers \
+                    available for your computer. namebench runs a fair \
+                    and thorough benchmark using your web browser \
+                    history, tcpdump output, or standardized datasets \
+                    in order to provide an individualized recommendation. \
+                    This port installs the Cocoa GUI interface. To \
+                    install just the command line interface, which the \
+                    Cocoa GUI interface depends on, install the \
+                    "py27-libnamebench" port.
 homepage            http://code.google.com/p/namebench/
-platforms           darwin
+
 master_sites        googlecode:${name}
 distname            ${name}-${version}-source
 extract.suffix      .tgz
-worksrcdir          ${name}-${version}/cocoa
 checksums           rmd160  93d1186caf2a214ecf1966ee798f01d329ecfd64 \
                     sha256  30ccf9e870c1174c6bf02fca488f62bba280203a0b1e8e4d26f3756e1a5b9425
 
+worksrcdir          ${name}-${version}/cocoa
+
 patchfiles          project.diff patch-main.m.diff
-
 post-patch {
-    set py_bin      ${prefix}/bin/python${py}
-    reinplace "s|/usr/bin/python|${py_bin}|g" ${worksrcpath}/main.m
-    reinplace "s|@FRAMEWORKS_DIR@|${frameworks_dir}|g" ${worksrcpath}/namebench.xcodeproj/project.pbxproj
-    reinplace "s|@PYTHON_VERSION@|${py}|g" ${worksrcpath}/namebench.xcodeproj/project.pbxproj
+    set py_bin ${prefix}/bin/python${py}
+    reinplace "s|/usr/bin/python|${py_bin}|g" \
+            ${worksrcpath}/main.m
+    reinplace "s|@FRAMEWORKS_DIR@|${frameworks_dir}|g" \
+            ${worksrcpath}/namebench.xcodeproj/project.pbxproj
+    reinplace "s|@PYTHON_VERSION@|${py}|g" \
+            ${worksrcpath}/namebench.xcodeproj/project.pbxproj
 }
 
 set py ""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/71597f33/attachment.html>


More information about the macports-changes mailing list