1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name sysvbanner |
---|
6 | categories sysutils textproc |
---|
7 | version 1.0-12 |
---|
8 | platforms darwin |
---|
9 | maintainers pierre@queinnec.org |
---|
10 | description System V banner clone |
---|
11 | long_description \ |
---|
12 | Displays a banner text the same way as the System V banner does: horizontally. |
---|
13 | |
---|
14 | homepage http://directory.fsf.org/text/doc/banner.html |
---|
15 | master_sites http://ftp.debian.org/debian/pool/main/s/sysvbanner |
---|
16 | distfiles ${name}_${version}.diff.gz |
---|
17 | checksums md5 5cbcee01cb1da56136264acab4102f15 |
---|
18 | worksrcdir ${name}-1.0 |
---|
19 | |
---|
20 | set diff_file patch-sysvbanner.diff |
---|
21 | extract.post_args > ${diff_file} |
---|
22 | use_configure no |
---|
23 | patch { |
---|
24 | system "cd work && patch -p0 < ${diff_file}" |
---|
25 | } |
---|
26 | build.target banner |
---|
27 | |
---|
28 | destroot { |
---|
29 | xinstall -W ${worksrcpath} -m 755 banner \ |
---|
30 | ${destroot}/${prefix}/bin/${name} |
---|
31 | xinstall -W ${worksrcpath} -m 644 banner.1 \ |
---|
32 | ${destroot}/${prefix}/share/man/man1/${name}.1 |
---|
33 | } |
---|