[136947] trunk/dports/devel/dylibbundler

ryandesign at macports.org ryandesign at macports.org
Sat May 30 20:02:14 PDT 2015


Revision: 136947
          https://trac.macports.org/changeset/136947
Author:   ryandesign at macports.org
Date:     2015-05-30 20:02:14 -0700 (Sat, 30 May 2015)
Log Message:
-----------
dylibbundler: fix version number

Modified Paths:
--------------
    trunk/dports/devel/dylibbundler/Portfile

Added Paths:
-----------
    trunk/dports/devel/dylibbundler/files/patch-src-main.cpp.diff

Modified: trunk/dports/devel/dylibbundler/Portfile
===================================================================
--- trunk/dports/devel/dylibbundler/Portfile	2015-05-31 02:53:06 UTC (rev 136946)
+++ trunk/dports/devel/dylibbundler/Portfile	2015-05-31 03:02:14 UTC (rev 136947)
@@ -5,6 +5,7 @@
 
 name                dylibbundler
 version             0.4.4
+revision            1
 categories          devel
 platforms           darwin
 maintainers         strasweb.fr:rudloff openmaintainer
@@ -36,8 +37,13 @@
     }
 }
 
-patchfiles          patch-makefile.diff
+patchfiles          patch-makefile.diff \
+                    patch-src-main.cpp.diff
 
+post-patch {
+    reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/src/main.cpp
+}
+
 use_configure       no
 
 variant universal {}

Added: trunk/dports/devel/dylibbundler/files/patch-src-main.cpp.diff
===================================================================
--- trunk/dports/devel/dylibbundler/files/patch-src-main.cpp.diff	                        (rev 0)
+++ trunk/dports/devel/dylibbundler/files/patch-src-main.cpp.diff	2015-05-31 03:02:14 UTC (rev 136947)
@@ -0,0 +1,20 @@
+--- src/main.cpp.orig	2013-09-08 04:54:52.000000000 -0500
++++ src/main.cpp	2015-05-30 21:59:53.000000000 -0500
+@@ -32,7 +32,7 @@
+  
+  */
+ 
+-const std::string VERSION = "0.4.1";
++const std::string VERSION = "0.4.4";
+ 
+ 
+ // FIXME - no memory management is done at all (anyway the program closes immediately so who cares?)
+@@ -43,7 +43,7 @@
+ void showHelp()
+ {
+     std::cout << "dylibbundler " << VERSION << std::endl;
+-    std::cout << "dylibbundler is a utility that helps bundle dynamic libraries inside mac OS X app bundles.\n" << std::endl;
++    std::cout << "dylibbundler is a utility that helps bundle dynamic libraries inside OS X application bundles.\n" << std::endl;
+     
+     std::cout << "-x, --fix-file <file to fix (executable or app plug-in)>" << std::endl;
+     std::cout << "-b, --bundle-deps" << std::endl;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150530/77f7865d/attachment.html>


More information about the macports-changes mailing list