[129407] trunk/dports/archivers/pbzip2/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Dec 12 12:07:08 PST 2014


Revision: 129407
          https://trac.macports.org/changeset/129407
Author:   ryandesign at macports.org
Date:     2014-12-12 12:07:08 -0800 (Fri, 12 Dec 2014)
Log Message:
-----------
pbzip2: add modeline and reformat

Modified Paths:
--------------
    trunk/dports/archivers/pbzip2/Portfile

Modified: trunk/dports/archivers/pbzip2/Portfile
===================================================================
--- trunk/dports/archivers/pbzip2/Portfile	2014-12-12 20:05:16 UTC (rev 129406)
+++ trunk/dports/archivers/pbzip2/Portfile	2014-12-12 20:07:08 UTC (rev 129407)
@@ -1,60 +1,62 @@
+# -*- 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
 # $Id$
 
-PortSystem        1.0
+PortSystem          1.0
 
-name              pbzip2
+name                pbzip2
 version             1.1.11
-set branch        [join [lrange [split ${version} .] 0 1] .]
-categories        archivers
-platforms         darwin
-maintainers       ryandesign openmaintainer
-license           Permissive
-installs_libs     no
+set branch          [join [lrange [split ${version} .] 0 1] .]
+categories          archivers
+platforms           darwin
+maintainers         ryandesign openmaintainer
+license             Permissive
+installs_libs       no
 
-description       parallel bzip2
-long_description  PBZIP2 is a parallel implementation of the bzip2 \
-  block-sorting file compressor that uses pthreads and achieves \
-  near-linear speedup on SMP machines.
+description         parallel bzip2
 
-homepage          http://compression.ca/pbzip2/
-master_sites      https://launchpad.net/pbzip2/${branch}/${version}/+download/
+long_description    PBZIP2 is a parallel implementation of the bzip2 \
+                    block-sorting file compressor that uses pthreads and \
+                    achieves near-linear speedup on SMP machines.
 
-depends_lib       port:bzip2
+homepage            http://compression.ca/pbzip2/
+master_sites        https://launchpad.net/pbzip2/${branch}/${version}/+download/
 
 checksums           rmd160  1ca41176a070697910fab02f76adde19422e0f2c \
                     sha256  b4861389bd99c73d304a03b0dc0731a8a26905da8e94ca4cef873b96e1ab0e7f
 
-patchfiles        patch-Makefile.diff
+depends_lib         port:bzip2
 
-use_configure     no
+patchfiles-append   patch-Makefile.diff
 
+use_configure       no
+
 variant universal {}
 
 pre-build {
     build.env-append \
                     CXX="${configure.cxx}" \
-                  CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
-                  LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
+                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
 }
 
-destroot.destdir  PREFIX=${destroot}${prefix}
+destroot.destdir    PREFIX=${destroot}${prefix}
 
 post-destroot {
-  delete ${destroot}${prefix}/bin/pbunzip2
-  delete ${destroot}${prefix}/bin/pbzcat
-  ln -s pbzip2 ${destroot}${prefix}/bin/pbunzip2
-  ln -s pbzip2 ${destroot}${prefix}/bin/pbzcat
+    delete ${destroot}${prefix}/bin/pbunzip2
+    delete ${destroot}${prefix}/bin/pbzcat
+    ln -s pbzip2 ${destroot}${prefix}/bin/pbunzip2
+    ln -s pbzip2 ${destroot}${prefix}/bin/pbzcat
 
-  set docdir ${prefix}/share/doc/${subport}
-  xinstall -d ${destroot}${docdir}
-  xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
-    ${destroot}${docdir}
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
+        ${destroot}${docdir}
 }
 
 variant debug description {Enable debugging code} {
     configure.cxxflags-append -DPBZIP_DEBUG
 }
 
-livecheck.type    regex
-livecheck.url     https://launchpad.net/pbzip2
-livecheck.regex   {pbzip2-(\d+(?:\.\d+)*).tar.gz}
+livecheck.type      regex
+livecheck.url       https://launchpad.net/pbzip2
+livecheck.regex     {pbzip2-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141212/f4008c6a/attachment.html>


More information about the macports-changes mailing list