source: trunk/dports/devel/expect/Portfile @ 33043

Last change on this file since 33043 was 33043, checked in by ryandesign@…, 11 years ago

expect: no longer use the deprecated 'cd' command; maintainer timeout; closes #13873

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 33043 2008-01-17 05:13:10Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    expect
6version                 5.43.0
7set shortversion        5.43
8revision                3
9platforms               darwin
10categories              devel
11maintainers             markd
12description             An automating and testing tool
13long_description        Expect is a tool for automating interactive applications \
14                        such as telnet, ftp, passwd, fsck, rlogin, tip, etc. \
15                        Expect is also useful for testing these same applications. \
16                        And by adding Tk, you can also wrap interactive \
17                        applications in X11 GUIs.
18homepage                http://expect.nist.gov/
19master_sites            http://expect.nist.gov/src/:exp \
20                        http://expect.nist.gov/old/:exp \
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
27
28distfiles               ${distname}.tar.gz:exp \
29                                tcl${tclv}-src.tar.gz:tcl
30checksums               ${distname}.tar.gz md5 43e1dc0e0bc9492cf2e1a6f59f276bc3 \
31                                tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
32
33depends_build           port:tcl
34
35worksrcdir              ${name}-${shortversion}
36
37configure.args          --disable-shared \
38                        --mandir=${prefix}/share/man \
39                        --with-tcl="${prefix}/lib" \
40                        --with-tclinclude="${workpath}/tcl${tclv}/generic/"
41
42test.run                yes
43test.target             test
44
45destroot.destdir        INSTALL_ROOT=${destroot}
46
47post-destroot           { ln -s libexpect${shortversion}.a ${destroot}${prefix}/lib/libexpect.a
48
49                        file mkdir ${destroot}${prefix}/share/doc/${name}/examples
50                        eval xinstall -m 644 [glob ${worksrcpath}/example/*] \
51                                ${destroot}${prefix}/share/doc/${name}/examples
52
53                        xinstall -m 644 -W ${worksrcpath} ChangeLog FAQ INSTALL NEWS README \
54                                ${destroot}${prefix}/share/doc/${name}
55                        }
56
Note: See TracBrowser for help on using the repository browser.