# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name ircii-classic conflicts ircii set my_name ircii version 2.8.2 revision 3 set branch [join [lrange [split ${version} .] 0 1] .] platforms darwin categories irc maintainers ryandesign openmaintainer homepage http://www.irchelp.org/irchelp/clients/unix/ircii/ master_sites ${homepage} dist_subdir ${my_name} distname ${my_name}-${version} set src_distfile ${distname}${extract.suffix} set help_distfile ${my_name}-${branch}help${extract.suffix} distfiles ${src_distfile} \ ${help_distfile} checksums ${src_distfile} \ md5 3bea19d0086e3660cf53d256d6efa110 \ sha1 2a4d4ef11f1a99de450dc8aa7104171a09fd9264 \ rmd160 05351859e05f788cea7940b51d652a2910674833 \ ${help_distfile} \ md5 acd61c53392a793250f6e86cbf277261 \ sha1 1733ac530659a47c284492ac0f1a8d5d361c354f \ rmd160 4d61a09a9a908f4221e28d33b313496f99dff62e description a text-based IRC and ICB client long_description ircII is a text-based interface to Internet Relay Chat. \ This port is for version ${version} from 1995, since \ some consider later versions buggier and more bloated. depends_build port:flex depends_lib port:ncurses patchfiles patch-Makefile.in.diff # Segfaults when built 64-bit universal_variant no supported_archs i386 ppc destroot.destdir prefix=${destroot}${prefix} post-destroot { set helpdir ${destroot}${prefix}/lib/irc/help set helpsrcdir ${workpath}/help set helpsrcdirlen [string length ${helpsrcdir}] fs-traverse item ${helpsrcdir} { set relitem [string range ${item} ${helpsrcdirlen} end] if {[file isdirectory ${item}]} { xinstall -d ${helpdir}${relitem} } else { system "gzip -9c ${item} > ${helpdir}${relitem}.gz" } } set docdir ${destroot}${prefix}/share/doc/ xinstall -d ${docdir} delete ${worksrcpath}/doc/INSTALL-2.2 copy ${worksrcpath}/doc ${docdir}/${name} xinstall -W ${worksrcpath} -m 644 \ ChangeLog \ NEWS \ README \ todo \ ${docdir}/${name} } livecheck.type none