Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 24723

Show
Ignore:
Timestamp:
05/01/07 11:58:52 (19 months ago)
Author:
markd@…
Message:

Copy examples directory, update the tcl version used for headers, take maintainership.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/expect/Portfile

    r22478 r24723  
    66version                 5.43.0 
    77set shortversion        5.43 
    8 revision                2 
     8revision                3 
    99platforms               darwin  
    1010categories              devel 
    11 maintainers             nomaintainer@macports.org 
    12 description             an automating and testing tool 
     11maintainers             markd@macports.org 
     12description             An automating and testing tool 
    1313long_description        Expect is a tool for automating interactive applications \ 
    1414                        such as telnet, ftp, passwd, fsck, rlogin, tip, etc. \ 
     
    1919master_sites            http://expect.nist.gov/src/:exp \ 
    2020                        http://expect.nist.gov/old/:exp \ 
    21                         http://www.opendarwin.org/~markd/:tclpheaders 
     21                        sourceforge:tcl:tcl 
     22 
     23# Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't 
     24# break if they aren't in sync. 
     25 
     26set tclv                8.4.14 
    2227 
    2328distfiles               ${distname}.tar.gz:exp \ 
    24                         tcl8.4.12-privateheaders-full.tar.gz:tclpheaders 
     29                                tcl${tclv}-src.tar.gz:tcl 
    2530checksums               ${distname}.tar.gz md5 43e1dc0e0bc9492cf2e1a6f59f276bc3 \ 
    26                         tcl8.4.12-privateheaders-full.tar.gz md5 ec9b85fad111b51b746fe45a2dc1e8fb 
     31                                tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460 
    2732 
    2833depends_build           port:tcl 
     
    3338                        --mandir=${prefix}/share/man \ 
    3439                        --with-tcl="${prefix}/lib" \ 
    35                         --with-tclinclude="${workpath}/tcl8.4.12-privateheaders-full"  
     40                        --with-tclinclude="${workpath}/tcl${tclv}/generic/" 
    3641 
    3742test.run                yes 
     
    4247post-destroot           { cd ${destroot}${prefix}/lib 
    4348                          system "ln -s libexpect${shortversion}.a libexpect.a" 
     49 
     50                        file mkdir ${destroot}${prefix}/share/doc/${name}/examples 
     51                        eval xinstall -m 644 [glob ${worksrcpath}/example/*] \ 
     52                                ${destroot}${prefix}/share/doc/${name}/examples 
     53 
     54                        xinstall -m 644 -W ${worksrcpath} ChangeLog FAQ INSTALL NEWS README \ 
     55                                ${destroot}${prefix}/share/doc/${name} 
    4456                        } 
    4557