Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/archivers/pbzip2/Portfile

Revision 44133, 1.3 KB (checked in by ram@…, 3 weeks ago)

archivers/pbzip2: update to 1.0.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# $Id$
2
3PortSystem        1.0
4
5name              pbzip2
6version           1.0.4
7categories        archivers
8platforms         darwin
9maintainers       ram openmaintainer
10
11description       parallel bzip2
12long_description  PBZIP2 is a parallel implementation of the bzip2 \
13  block-sorting file compressor that uses pthreads and achieves \
14  near-linear speedup on SMP machines.
15
16homepage          http://compression.ca/pbzip2/
17master_sites      ${homepage}
18
19depends_lib       port:bzip2
20
21checksums         md5 762506168fc441a454e4cebdd02c080a \
22                  sha1 fc92043a9632f8234a0340360d6ef9232f1fb845 \
23                  rmd160 bf76826afd22788bc6d06568d0120fa532539d41
24
25set CFLAGS        "${configure.ldflags} ${configure.cppflags}"
26
27configure {
28  reinplace "s|-pthread -lpthread|${CFLAGS}|" ${worksrcpath}/Makefile
29  reinplace "s|man|share/man|" ${worksrcpath}/Makefile
30}
31
32destroot.destdir  PREFIX=${destroot}${prefix}
33
34post-destroot {
35  set docdir ${prefix}/share/doc/${name}-${version}
36  xinstall -d ${destroot}${docdir}
37  xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
38    ${destroot}${docdir}
39}
40
41variant universal {
42  set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
43}
44
45livecheck.check   regex
46livecheck.url     ${homepage}
47livecheck.regex   {pbzip2-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the browser.