1 | # $Id: Portfile,v 1.5 2006/07/30 20:04:25 wgrzemski Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name boxes |
---|
5 | version 1.1 |
---|
6 | categories textproc |
---|
7 | platforms darwin |
---|
8 | maintainers wgrzemski@gmail.com |
---|
9 | description draws boxes around text |
---|
10 | long_description boxes is a text filter which can draw ASCII art boxes around its input text |
---|
11 | homepage http://boxes.thomasjensen.com |
---|
12 | master_sites http://boxes.thomasjensen.com/download/ |
---|
13 | distname ${name}-${version} |
---|
14 | distfiles ${name}-${version}.src.tar.gz |
---|
15 | checksums md5 d2ef9fa28a87bf32b3fe0c47ab82fa97 |
---|
16 | |
---|
17 | use_configure no |
---|
18 | pre-build { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes/boxes.conf|" "${worksrcpath}/Makefile" } |
---|
19 | build { system "cd $worksrcpath && make" } |
---|
20 | destroot { |
---|
21 | xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name} |
---|
22 | file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes.conf |
---|
23 | xinstall -m 755 -d ${destroot}${prefix}/share/${name} |
---|
24 | xinstall -m 644 ${worksrcpath}/boxes.conf ${destroot}${prefix}/share/${name} |
---|
25 | xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/ |
---|
26 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
27 | xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name} |
---|
28 | xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/doc/${name} |
---|
29 | } |
---|