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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name                    boxes
5version                 1.1
6categories              textproc
7platforms               darwin
8maintainers             gmail.com:wgrzemski
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.