[77669] trunk/dports/graphics/graphviz-gui-devel

ryandesign at macports.org ryandesign at macports.org
Fri Apr 8 00:27:57 PDT 2011


Revision: 77669
          http://trac.macports.org/changeset/77669
Author:   ryandesign at macports.org
Date:     2011-04-08 00:27:56 -0700 (Fri, 08 Apr 2011)
Log Message:
-----------
graphviz-gui-devel: Fix copyright date in about box and Finder info window; see https://mailman.research.att.com/pipermail/graphviz-devel/2011/001320.html

Modified Paths:
--------------
    trunk/dports/graphics/graphviz-gui-devel/Portfile

Added Paths:
-----------
    trunk/dports/graphics/graphviz-gui-devel/files/patch-InfoPlist.strings.diff

Modified: trunk/dports/graphics/graphviz-gui-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-gui-devel/Portfile	2011-04-08 07:06:14 UTC (rev 77668)
+++ trunk/dports/graphics/graphviz-gui-devel/Portfile	2011-04-08 07:27:56 UTC (rev 77669)
@@ -11,6 +11,7 @@
 set my_name                     graphviz
 # keep version in sync between graphviz-devel and graphviz-gui-devel
 version                         2.27.20110408.0445
+revision                        1
 categories                      graphics aqua
 maintainers                     ryandesign
 license                         CPL-1.0
@@ -50,8 +51,17 @@
 
 extract.post_args-append        ${worksrcdir}/macosx ${worksrcdir}/doc
 
-patchfiles                      patch-project.pbxproj.diff
+patchfiles                      patch-project.pbxproj.diff \
+                                patch-InfoPlist.strings.diff
 
+pre-patch {
+    system "cd ${worksrcpath}/macosx/English.lproj && ${prefix}/bin/iconv -f utf-16 -t utf-8 InfoPlist.strings > InfoPlist.strings.utf8"
+}
+
+post-patch {
+    system "cd ${worksrcpath}/macosx/English.lproj && ${prefix}/bin/iconv -f utf-8 -t utf-16 InfoPlist.strings.utf8 > InfoPlist.strings"
+}
+
 build.dir                       ${worksrcpath}/macosx
 xcode.build.settings            PREFIX=${prefix}
 

Added: trunk/dports/graphics/graphviz-gui-devel/files/patch-InfoPlist.strings.diff
===================================================================
--- trunk/dports/graphics/graphviz-gui-devel/files/patch-InfoPlist.strings.diff	                        (rev 0)
+++ trunk/dports/graphics/graphviz-gui-devel/files/patch-InfoPlist.strings.diff	2011-04-08 07:27:56 UTC (rev 77669)
@@ -0,0 +1,9 @@
+--- macosx/English.lproj/InfoPlist.strings.utf8.orig	2011-04-08 02:18:59.000000000 -0500
++++ macosx/English.lproj/InfoPlist.strings.utf8	2011-04-08 02:19:24.000000000 -0500
+@@ -1,5 +1,5 @@
+ /* Localized versions of Info.plist keys */
+ 
+-NSHumanReadableCopyright = "© AT&T, 1994–2009";
++NSHumanReadableCopyright = "© AT&T, 1994–2011";
+ 
+ GVDocumentTypeGraph = "Graphviz graph";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110408/9b21f296/attachment.html>


More information about the macports-changes mailing list