Ignore:
Timestamp:
Dec 12, 2014, 8:07:08 PM (4 years ago)
Author:
ryandesign@…
Message:

pbzip2: add modeline and reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/pbzip2/Portfile

    r129406 r129407  
     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              pbzip2
     6name                pbzip2
    67version             1.1.11
    7 set branch        [join [lrange [split ${version} .] 0 1] .]
    8 categories        archivers
    9 platforms         darwin
    10 maintainers       ryandesign openmaintainer
    11 license           Permissive
    12 installs_libs     no
     8set branch          [join [lrange [split ${version} .] 0 1] .]
     9categories          archivers
     10platforms           darwin
     11maintainers         ryandesign openmaintainer
     12license             Permissive
     13installs_libs       no
    1314
    14 description       parallel bzip2
    15 long_description  PBZIP2 is a parallel implementation of the bzip2 \
    16   block-sorting file compressor that uses pthreads and achieves \
    17   near-linear speedup on SMP machines.
     15description         parallel bzip2
    1816
    19 homepage          http://compression.ca/pbzip2/
    20 master_sites      https://launchpad.net/pbzip2/${branch}/${version}/+download/
     17long_description    PBZIP2 is a parallel implementation of the bzip2 \
     18                    block-sorting file compressor that uses pthreads and \
     19                    achieves near-linear speedup on SMP machines.
    2120
    22 depends_lib       port:bzip2
     21homepage            http://compression.ca/pbzip2/
     22master_sites        https://launchpad.net/pbzip2/${branch}/${version}/+download/
    2323
    2424checksums           rmd160  1ca41176a070697910fab02f76adde19422e0f2c \
    2525                    sha256  b4861389bd99c73d304a03b0dc0731a8a26905da8e94ca4cef873b96e1ab0e7f
    2626
    27 patchfiles        patch-Makefile.diff
     27depends_lib         port:bzip2
    2828
    29 use_configure     no
     29patchfiles-append   patch-Makefile.diff
     30
     31use_configure       no
    3032
    3133variant universal {}
     
    3436    build.env-append \
    3537                    CXX="${configure.cxx}" \
    36                   CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
    37                   LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
     38                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
     39                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
    3840}
    3941
    40 destroot.destdir  PREFIX=${destroot}${prefix}
     42destroot.destdir    PREFIX=${destroot}${prefix}
    4143
    4244post-destroot {
    43   delete ${destroot}${prefix}/bin/pbunzip2
    44   delete ${destroot}${prefix}/bin/pbzcat
    45   ln -s pbzip2 ${destroot}${prefix}/bin/pbunzip2
    46   ln -s pbzip2 ${destroot}${prefix}/bin/pbzcat
     45    delete ${destroot}${prefix}/bin/pbunzip2
     46    delete ${destroot}${prefix}/bin/pbzcat
     47    ln -s pbzip2 ${destroot}${prefix}/bin/pbunzip2
     48    ln -s pbzip2 ${destroot}${prefix}/bin/pbzcat
    4749
    48   set docdir ${prefix}/share/doc/${subport}
    49   xinstall -d ${destroot}${docdir}
    50   xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
    51     ${destroot}${docdir}
     50    set docdir ${prefix}/share/doc/${subport}
     51    xinstall -d ${destroot}${docdir}
     52    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
     53        ${destroot}${docdir}
    5254}
    5355
     
    5658}
    5759
    58 livecheck.type    regex
    59 livecheck.url     https://launchpad.net/pbzip2
    60 livecheck.regex   {pbzip2-(\d+(?:\.\d+)*).tar.gz}
     60livecheck.type      regex
     61livecheck.url       https://launchpad.net/pbzip2
     62livecheck.regex     {pbzip2-(\d+(?:\.\d+)*).tar.gz}
Note: See TracChangeset for help on using the changeset viewer.