[72511] trunk/dports/aqua/Platypus/Portfile

elelay at macports.org elelay at macports.org
Tue Oct 19 01:21:36 PDT 2010


Revision: 72511
          http://trac.macports.org/changeset/72511
Author:   elelay at macports.org
Date:     2010-10-19 01:21:33 -0700 (Tue, 19 Oct 2010)
Log Message:
-----------
post-destroot fix for snow leopard

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

Modified: trunk/dports/aqua/Platypus/Portfile
===================================================================
--- trunk/dports/aqua/Platypus/Portfile	2010-10-19 06:44:52 UTC (rev 72510)
+++ trunk/dports/aqua/Platypus/Portfile	2010-10-19 08:21:33 UTC (rev 72511)
@@ -48,7 +48,12 @@
 
 post-destroot {
 	reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
-	reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
+
+	# there is no English.lproj when building on Tiger but there is one on SL
+	if {"darwin" == ${os.platform} && 8 == ${os.major}} {
+		reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
+	}
+
 	exec /bin/bash ${worksrcpath}/Scripts/InstallCommandLineTool.sh ${destroot}/${applications_dir}/Platypus.app/Contents/Resources
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101019/c1a49f9b/attachment.html>


More information about the macports-changes mailing list