Changes between Version 23 and Version 24 of snc
- Timestamp:
- Feb 6, 2009, 2:11:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
snc
v23 v24 6 6 7 7 Also hidden (to the point where I cannot find it) is how to write wrapper scripts; [source:trunk/dports/x11/wine/ wine] is considered the poster-portfile. Another example is [source:trunk/dports/math/pspp/ pspp]. The scripts should be included in the port's {{{files}}} directory and dynamically modified through the portfile by the [http://guide.macports.org/#reference.tcl-extensions tcl extensions], {{{xinstall}}} and {{{reinplace}}}. 8 9 Also to be remembered: If at any point you need to see what MacPorts is actually doing with your portfile, use the {{{-d}}} flag. 8 10 === Steps to Decide When to Use Patch Files === 9 11 1. Do nothing: MacPorts already puts{{{ --prefix=${prefix} }}}in {{{configure.pre_args}}} and most software uses configure scripts and most configure scripts understand that flag.