[48526] trunk/dports/math/pspp/Portfile

snc at macports.org snc at macports.org
Tue Mar 24 07:01:54 PDT 2009


Revision: 48526
          http://trac.macports.org/changeset/48526
Author:   snc at macports.org
Date:     2009-03-24 07:01:54 -0700 (Tue, 24 Mar 2009)
Log Message:
-----------
added Finder-launchable application

Modified Paths:
--------------
    trunk/dports/math/pspp/Portfile

Modified: trunk/dports/math/pspp/Portfile
===================================================================
--- trunk/dports/math/pspp/Portfile	2009-03-24 13:53:03 UTC (rev 48525)
+++ trunk/dports/math/pspp/Portfile	2009-03-24 14:01:54 UTC (rev 48526)
@@ -97,10 +97,19 @@
         ln -s ${prefix}/lib/pspp/libpsppwidgets.dylib \
             ${destroot}${prefix}/lib/pspp/libpsppwidgets.so
 
-        move ${destroot}${prefix}/bin/psppire ${destroot}${prefix}/libexec/${name}/psppire
+        move ${destroot}${prefix}/bin/psppire \
+			${destroot}${prefix}/libexec/${name}/psppire
 
         xinstall -m 755 ${filespath}/psppire.in ${destroot}${prefix}/bin/psppire
         reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/psppire
         reinplace s|@NAME@|${name}|g ${destroot}${prefix}/bin/psppire
     }
+
+	xinstall -d ${destroot}${applications_dir}/PSPP.app/Contents/MacOS
+	xinstall -m 644 ${filespath}/PSPP.app/Contents/Info.plist \
+		${destroot}${applications_dir}/PSPP.app/Contents
+	copy ${destroot}${prefix}/bin/psppire \
+		${destroot}${applications_dir}/PSPP.app/Contents/MacOS
+	reinplace "s|psppire|psppire \\&|g" \
+		${destroot}${applications_dir}/PSPP.app/Contents/MacOS/psppire
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090324/48f0a0bb/attachment.html>


More information about the macports-changes mailing list