source: trunk/dports/irc/tkirc/Portfile @ 3173

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.5 2003/08/05 09:29:13 jkh Exp $
2
3PortSystem 1.0
4name            tkirc
5version         2.46
6categories      irc
7maintainers     jkh@opendarwin.org
8description     A Tk-based GUI for the ircII Internet Relay Chat client
9long_description Tkirc is a frontend for unix's ircII (shell-client for the Internet Relay Chat) based on Tcl/Tk.  If you know how to use ircII, you should not have any problems using tkirc.
10
11platforms       darwin
12master_sites    ftp://ftp.netsplit.de/pub/tcltk/
13checksums       md5 b6b16369e2d1cd6a0941d93577d6831e
14depends_run     bin:ircII:ircii bin:wish8.4:tk
15distname        ${portname}${portversion}
16worksrcdir      tkirc2
17
18configure       {}
19build {
20        reinplace "s;wish8.3;wish8.4;" ${worksrcpath}/tkirc2
21}
22
23destroot {
24        system "install -d ${destroot}${prefix}/bin"
25        system "install -d ${destroot}${prefix}/share/doc/tkirc/examples"
26        system "install -c ${worksrcpath}/tkirc2 ${destroot}${prefix}/bin"
27        system "ln -fs ${destroot}${prefix}/bin/tkirc2 ${destroot}${prefix}/bin/tkirc"
28        system "install -c ${worksrcpath}/CHANGES ${destroot}${prefix}/share/doc/tkirc"
29        system "install -c ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/tkirc"
30        system "install -c ${worksrcpath}/README ${destroot}${prefix}/share/doc/tkirc"
31        system "tar -cf - -C ${worksrcpath} .tkirc2 | tar -xf - -C ${destroot}${prefix}/share/doc/tkirc/examples"
32}
33
Note: See TracBrowser for help on using the repository browser.