[56899] trunk/dports/devel/poedit/Portfile

snc at macports.org snc at macports.org
Thu Sep 3 04:17:14 PDT 2009


Revision: 56899
          http://trac.macports.org/changeset/56899
Author:   snc at macports.org
Date:     2009-09-03 04:17:10 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
fix case on application_dir, ticket #21053. remove superfluous applications_dir creation

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

Modified: trunk/dports/devel/poedit/Portfile
===================================================================
--- trunk/dports/devel/poedit/Portfile	2009-09-03 07:59:23 UTC (rev 56898)
+++ trunk/dports/devel/poedit/Portfile	2009-09-03 11:17:10 UTC (rev 56899)
@@ -45,21 +45,16 @@
     configure.args-append   --enable-spellchecking
 }
 
-# Can be removed once MacPorts 1.7.1/1.8.0 is released
-pre-destroot {
-    xinstall -d ${destroot}${applications_dir}
-}
-
 destroot {
     # the gettext binaries are copied into poedit.app during build,
     # but we rather delete and symlink them to get updates to gettext automatically {
     foreach extra { msgfmt msgmerge msgunfmt xgettext } {
-        file delete ${worksrcpath}/src/poedit.app/Contents/MacOS/${extra}
-        ln -s ${prefix}/bin/${extra} ${worksrcpath}/src/poedit.app/Contents/MacOS/${extra}
+        file delete ${worksrcpath}/src/Poedit.app/Contents/MacOS/${extra}
+        ln -s ${prefix}/bin/${extra} ${worksrcpath}/src/Poedit.app/Contents/MacOS/${extra}
     }
-    file delete ${worksrcpath}/src/poedit.app/Contents/MacOS/gnu_gettext.COPYING
+    file delete ${worksrcpath}/src/Poedit.app/Contents/MacOS/gnu_gettext.COPYING
     # }
 
-    file copy ${worksrcpath}/src/poedit.app ${destroot}${applications_dir}/poEdit.app
+    file copy ${worksrcpath}/src/Poedit.app ${destroot}${applications_dir}/poEdit.app
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/03b15248/attachment-0001.html>


More information about the macports-changes mailing list