Ignore:
Timestamp:
Jun 21, 2015, 4:55:58 AM (4 years ago)
Author:
larryv@…
Message:

python-1.0: Add rootname option

This represents the "real" name of the software being packaged. For
pyXY-foo modules, it defaults to "foo". It's intended to replace the
set realname scourge that plagues the ports tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/python-1.0.tcl

    r130565 r137835  
    5757    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples
    5858}
     59
     60# python.rootname: The "proper" name of the software. For a module
     61#   pyXY-foo, this defaults to "foo"; for an app "foobar", this defaults
     62#   to "foobar".
     63
     64options python.rootname
     65default python.rootname {[regsub ^py- [option name] ""]}
    5966
    6067options python.versions python.version python.default_version
Note: See TracChangeset for help on using the changeset viewer.