Changeset 94593 for trunk/dports/irc


Ignore:
Timestamp:
Jun 24, 2012, 7:52:27 AM (7 years ago)
Author:
afb@…
Message:

set license, add python plugin variants (#34928)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/xchat2/Portfile

    r91892 r94593  
    1313homepage            http://www.xchat.org/
    1414platforms           darwin
     15license             GPL-2+
    1516
    1617long_description \
     
    3839universal_variant   no
    3940
    40 variant xft conflicts quartz description "Enable Xft2 font support" { 
     41variant xft conflicts quartz description "Enable Xft2 font support" {
    4142    configure.args-append --enable-xft
    4243}
     
    5253}
    5354
     55variant python25 description "Enable Python plugin, using python25" conflicts python26 python27 {
     56    configure.args-delete --disable-python
     57    configure.args-append --enable-python
     58    depends_lib-append port:python25
     59    configure.env pythonpath="${prefix}/bin/python2.5"
     60}
     61
     62variant python26 description "Enable Python plugin, using python26" conflicts python25 python27 {
     63    configure.args-delete --disable-python
     64    configure.args-append --enable-python
     65    depends_lib-append port:python26
     66    configure.env pythonpath="${prefix}/bin/python2.6"
     67}
     68
     69variant python27 description "Enable Python plugin, using python27" conflicts python25 python26 {
     70    configure.args-delete --disable-python
     71    configure.args-append --enable-python
     72    depends_lib-append port:python27
     73    configure.env pythonpath="${prefix}/bin/python2.7"
     74}
     75
    5476livecheck.url       http://www.xchat.org/files/source/${branch}/?S=D
    5577livecheck.regex     xchat-(\[0-9.\]+)${extract.suffix}
Note: See TracChangeset for help on using the changeset viewer.