Ignore:
Timestamp:
Aug 8, 2014, 1:45:06 PM (6 years ago)
Author:
khindenburg@…
Message:

boxes: add modeline - whitespace changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/boxes/Portfile

    r123336 r123337  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem              1.0
    45
    5 name                    boxes
    6 version                 1.1
    7 categories              textproc
    8 license                 GPL-2+
    9 platforms               darwin
    10 maintainers             nomaintainer
     6name                    boxes
     7version                 1.1
     8categories              textproc
     9license                 GPL-2+
     10platforms               darwin
     11maintainers             nomaintainer
    1112
    12 description             draws boxes around text
    13 long_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
    17 homepage                http://boxes.thomasjensen.com
    18 master_sites            http://boxes.thomasjensen.com/download/
    19 extract.suffix          .src.tar.gz
    20 checksums               md5 d2ef9fa28a87bf32b3fe0c47ab82fa97
     13description             draws boxes around text
     14long_description        boxes is a text filter which can draw various \
     15                        ASCII art boxes around its input text. \
     16                        Variants: 'emacs' -- installs boxes.el, which \
     17                        simplifies using boxes from emacs
    2118
    22 patchfiles              config.h.patch boxes.c.patch parser.patch regerror.patch \
    23                         regexp_Makefile.patch tools.c.patch
     19homepage                http://boxes.thomasjensen.com
     20master_sites            http://boxes.thomasjensen.com/download/
     21extract.suffix          .src.tar.gz
     22
     23checksums               md5 d2ef9fa28a87bf32b3fe0c47ab82fa97
     24
     25patchfiles              config.h.patch boxes.c.patch parser.patch regerror.patch \
     26                        regexp_Makefile.patch tools.c.patch
    2427
    2528use_configure           no
    2629
    2730variant 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         }
     31    post-destroot {
     32        xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
     33        xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/emacs/site-lisp/${name}/
     34    }
    3235}
    3336
    34 post-patch              { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
     37post-patch { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
    3538build.target
    36 build.args              CC=${configure.cc}
     39build.args              CC=${configure.cc}
    3740
    3841destroot {
    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}
     42    xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
     43    file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes
     44    xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
     45    xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
     46    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     47    xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name}
    4548}
    4649
    47 livecheck.type      regex
    48 livecheck.url       [lindex ${master_sites} 0]
    49 livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
     50livecheck.type          regex
     51livecheck.url           [lindex ${master_sites} 0]
     52livecheck.regex         ${name}-(\[0-9.\]+)${extract.suffix}
    5053
Note: See TracChangeset for help on using the changeset viewer.