source: trunk/dports/textproc/boxes/Portfile @ 20171

Last change on this file since 20171 was 20171, checked in by blair@…, 13 years ago

Set the svn:eol-style property to native for any Portfile's that do
not have this property. The cvs2svn conversion set this property on
any Portfile's that existed in the CVS repository. This makes all
Portfile's consistent and prevents any problems with checkouts of
these files on Windows (yuck!) boxes.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.9 2006/08/11 03:21:49 wgrzemski Exp $
2
3PortSystem 1.0
4name                    boxes
5version                 1.1
6categories              textproc
7platforms               darwin
8maintainers             wgrzemski@gmail.com
9description             draws boxes around text
10long_description        boxes is a text filter which can draw various \
11                        ASCII art boxes around its input text. \
12                        Variants: 'emacs' -- installs boxes.el, which \
13                        simplifies using boxes from emacs
14homepage                http://boxes.thomasjensen.com
15master_sites            http://boxes.thomasjensen.com/download/
16distname                ${name}-${version}
17distfiles               ${name}-${version}.src.tar.gz
18checksums               md5 d2ef9fa28a87bf32b3fe0c47ab82fa97
19use_configure           no
20
21variant emacs           {}
22
23pre-build               { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
24build                   { system "cd $worksrcpath && make" }
25
26destroot {
27                        xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
28                        file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes
29                        xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
30                        xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
31                        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
32                        xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name}
33
34                        if { [variant_isset emacs] } {
35                                xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
36                                xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/emacs/site-lisp/${name}/
37                        }
38}
Note: See TracBrowser for help on using the repository browser.