# $Id: Portfile,v 1.1 2005/08/02 09:47:03 mww Exp $ PortSystem 1.0 name sysvbanner version 1.0-12 categories sysutils textproc platforms darwin maintainers pierre@queinnec.org description System V banner clone long_description \ Displays a banner text the same way as the System V banner does: horizontally. homepage http://directory.fsf.org/text/doc/banner.html master_sites http://ftp.debian.org/debian/pool/main/s/sysvbanner distfiles ${name}_${version}.diff.gz checksums md5 5cbcee01cb1da56136264acab4102f15 worksrcdir ${name}-1.0 set diff_file patch-sysvbanner.diff extract.post_args > ${diff_file} use_configure no patch { system "cd work && patch -p0 < ${diff_file}" } build.target banner destroot { xinstall -W ${worksrcpath} -m 755 banner \ ${destroot}/${prefix}/bin/${name} xinstall -W ${worksrcpath} -m 644 banner.1 \ ${destroot}/${prefix}/share/man/man1/${name}.1 }