# $Id: Portfile 32348 2007-12-26 20:23:54Z pmq@macports.org $ PortSystem 1.0 name sysvbanner version 1.0-12 categories sysutils textproc platforms darwin maintainers pmq 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 livecheck.url http://packages.debian.org/unstable/misc/${name} livecheck.regex "

Package: ${name} \\\((.*)\\\)

" set diff_file patch-sysvbanner.diff extract.post_args > ${diff_file} patch { system "cd work && patch -p0 < ${diff_file}" } use_configure no 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 }