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

Last change on this file since 86305 was 86305, checked in by ryandesign@…, 8 years ago

boxes: nomaintainer; see #31749

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