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

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

boxes: license

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