source: trunk/dports/archivers/pbzip2/Portfile

Last change on this file was 143697, checked in by ryandesign@…, 2 years ago

pbzip2: update to 1.1.13; remove DESTDIR portion of Makefile patch which was accepted upstream

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
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
2# $Id: Portfile 143697 2015-12-18 10:21:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pbzip2
7version             1.1.13
8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          archivers
10platforms           darwin
11maintainers         ryandesign openmaintainer
12license             Permissive
13installs_libs       no
14
15description         parallel bzip2
16
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.
20
21homepage            http://compression.ca/pbzip2/
22master_sites        https://launchpad.net/pbzip2/${branch}/${version}/+download/
23
24checksums           rmd160  cc73779cb262afd7150960ee3989d901bf10de8d \
25                    sha256  8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6
26
27depends_lib         port:bzip2
28
29patchfiles-append   patch-Makefile.diff
30
31use_configure       no
32
33variant universal {}
34
35pre-build {
36    build.env-append \
37                    CXX="${configure.cxx}" \
38                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
39                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
40}
41
42destroot.args       PREFIX=${prefix}
43
44post-destroot {
45    set docdir ${prefix}/share/doc/${subport}
46    xinstall -d ${destroot}${docdir}
47    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
48        ${destroot}${docdir}
49}
50
51variant debug description {Enable debugging code} {
52    configure.cxxflags-append -DPBZIP_DEBUG
53}
54
55livecheck.type      regex
56livecheck.url       https://launchpad.net/pbzip2
57livecheck.regex     {pbzip2-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.