[48526] trunk/dports/math/pspp/Portfile
Ryan Schmidt
ryandesign at macports.org
Wed Mar 25 05:27:33 PDT 2009
On Mar 24, 2009, at 09:01, snc at macports.org wrote:
> 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
> }
You have to increase the port's revision so everyone gets these new
files.
More information about the macports-dev
mailing list