Changeset 62854 for trunk/dports/irc


Ignore:
Timestamp:
Jan 19, 2010, 7:11:09 AM (10 years ago)
Author:
ryandesign@…
Message:

ircii-classic: gzip-compress the help files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/ircii-classic/Portfile

    r62852 r62854  
    66set my_name             ircii
    77version                 2.8.2
     8revision                1
    89set branch              [join [lrange [split ${version} .] 0 1] .]
    910platforms               darwin
     
    5051
    5152post-destroot {
    52     copy ${workpath}/help ${destroot}${prefix}/lib/irc
     53    set helpdir ${destroot}${prefix}/lib/irc/help
     54    set helpsrcdir ${workpath}/help
     55    set helpsrcdirlen [string length ${helpsrcdir}]
     56    fs-traverse item ${helpsrcdir} {
     57        set relitem [string range ${item} ${helpsrcdirlen} end]
     58        if {[file isdirectory ${item}]} {
     59            xinstall -d ${helpdir}${relitem}
     60        } else {
     61            system "gzip -9c ${item} > ${helpdir}${relitem}.gz"
     62        }
     63    }
    5364   
    5465    set docdir ${destroot}${prefix}/share/doc/
Note: See TracChangeset for help on using the changeset viewer.