On Mar 24, 2009, at 09:01, [email protected] wrote:
Revision: 48526 http://trac.macports.org/changeset/48526 Author: [email protected] 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}/psppirexinstall -m 755 ${filespath}/psppire.in ${destroot}$ {prefix}/bin/psppire reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/ psppirereinplace 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 }
You have to increase the port's revision so everyone gets these new files.
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
