Changes between Version 23 and Version 24 of snc


Ignore:
Timestamp:
Feb 6, 2009, 2:11:39 PM (16 years ago)
Author:
nerdling (Jeremy Lavergne)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • snc

    v23 v24  
    66
    77Also 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
     9Also to be remembered: If at any point you need to see what MacPorts is actually doing with your portfile, use the {{{-d}}} flag.
    810=== Steps to Decide When to Use Patch Files ===
    911 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.