source: trunk/dports/irc/ircii-classic/Portfile @ 62849

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

ircii-classic: new port for old 2.8.2 version of ircII from 1995, by request:
http://lists.macosforge.org/pipermail/macports-users/2010-January/018385.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 62849 2010-01-19 05:33:53Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    ircii-classic
6set my_name             ircii
7version                 2.8.2
8set branch              [join [lrange [split ${version} .] 0 1] .]
9platforms               darwin
10categories              irc
11maintainers             ryandesign
12homepage                http://www.irchelp.org/irchelp/ircii/
13master_sites            ${homepage}
14dist_subdir             ${my_name}
15distname                ${my_name}-${version}
16set src_distfile        [suffix ${distname}]
17set help_distfile       [suffix ${my_name}-${branch}help]
18distfiles               ${src_distfile} \
19                        ${help_distfile}
20
21checksums               ${src_distfile} \
22                        md5     3bea19d0086e3660cf53d256d6efa110 \
23                        sha1    2a4d4ef11f1a99de450dc8aa7104171a09fd9264 \
24                        rmd160  05351859e05f788cea7940b51d652a2910674833 \
25                        ${help_distfile} \
26                        md5     acd61c53392a793250f6e86cbf277261 \
27                        sha1    1733ac530659a47c284492ac0f1a8d5d361c354f \
28                        rmd160  4d61a09a9a908f4221e28d33b313496f99dff62e
29
30patchfiles              patch-Makefile.in.diff
31
32# Segfaults when built 64-bit
33universal_variant       no
34switch ${configure.build_arch} {
35    x86_64 {
36        configure.build_arch i386
37    }
38    ppc64 {
39        configure.build_arch ppc
40    }
41}
42
43destroot.destdir        prefix=${destroot}${prefix}
44
45post-destroot {
46    copy ${workpath}/help ${destroot}${prefix}/lib/irc
47   
48    set docdir ${destroot}${prefix}/share/doc/
49    xinstall -d ${docdir}
50    delete ${worksrcpath}/doc/INSTALL-2.2
51    copy ${worksrcpath}/doc ${docdir}/${name}
52    xinstall -W ${worksrcpath} -m 644 \
53        ChangeLog \
54        NEWS \
55        README \
56        todo \
57        ${docdir}/${name}
58}
59
60livecheck.type          none
Note: See TracBrowser for help on using the repository browser.