Portfile

# $Id: Portfile 20337 2006-11-02 00:46:10Z blair@macports.org $
PortSystem 1.0
name binkd
version 0.9.4
revision 1
distname binkd094
worksrcdir ${name}-${version}
checksums md5 9330297ed00655da41a49784ab1a6d16
categories net
maintainers bk532@iname.com
description binkd FidoNET mailer
long_description binkd is a program used in FidoNET networks \
to transfer files using IP transport.
homepage http://2f.ru/binkd/
master_sites http://2f.ru/binkd/
use_zip yes
pre-configure {
system "/bin/cp ${worksrcpath}/mkfls/unix/* ${worksrcpath} && \
/bin/chmod a+x ${worksrcpath}/configure"
}

destroot {
cd ${worksrcpath}
system "install -o root -m 755 binkd ${destroot}/${prefix}/sbin/"
system "install -o root -m 644 binkd.8 ${destroot}/${prefix}/share/man/man8"
system "install -o root -m 644 binkd.cfg ${destroot}/${prefix}/etc/binkd.cfg.sample"
}