Changes between Version 27 and Version 28 of snc


Ignore:
Timestamp:
Apr 16, 2009, 11:25:00 PM (16 years ago)
Author:
tobypeterson
Comment:

fix destroot.destdir default

Legend:

Unmodified
Added
Removed
Modified
  • snc

    v27 v28  
    1616Speaking of {{{reinplace}}}, '''do not''' hardcode {{{/opt/local}}} anywhere! Instead, use {{{reinplace}}} to replace things like {{{${prefix} }}}and {{{${x11prefix} }}}and other variables that can be different on users' systems.
    1717=== Steps to Installing to Destroot ===
    18  1. Do nothing: MacPorts already puts{{{ DESTROOT=${destroot}${prefix} }}}into {{{destroot.destdir}}} and most Makefiles support this.
     18 1. Do nothing: MacPorts already puts{{{ DESTDIR=${destroot} }}}into {{{destroot.destdir}}} and most Makefiles support this.
    1919 1. If there is another variable you need to use, overwrite {{{destroot.destdir}}} (perhaps{{{ destroot.destdir INSTALL_ROOT=${destroot}${prefix} }}}or{{{ destroot.destdir PREFIX=${destroot}${prefix} }}}).
    2020 1. If the Makefile doesn't support {{{DESTROOT}}}, request from the author that they do. If they won't or you can't wait for their fix, patch the Makefile to support {{{DESTROOT}}}, or override the destroot phase entirely and {{{xinstall}}} the files into place in the portfile.