source: trunk/dports/archivers/par2/Portfile @ 33457

Last change on this file since 33457 was 33457, checked in by nox@…, 12 years ago

par2 (closes #12686):

  • Removed g++-3.3 for darwin 8 as it builds fine without it.
  • Removed commandline and par2repaired patches as they were intended to build fine with g++-3.3.
  • Removed configure cflags added to fix #5250 (it now works fine without them).
  • Added standard doc installation.
  • Added test support.
  • Added sha1 and rmd160 checksums and livecheck.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 33457 2008-01-27 13:43:21Z nox@macports.org $
2
3PortSystem        1.0
4
5name              par2
6version           0.4
7revision          2
8description       Parchive: Parity Archive Volume Set for data recovery
9
10long_description  Parchive takes .par files and can regenerate missing data \
11                  based upon a Reed-Soloman Code. This is useful for \
12                  restoring missing pieces of a multi-part archive like the \
13                  kinds used on Usenet. Version 2 does not require \
14                  like-sized pieces, so it is useful for many more kinds of \
15                  data recovery.
16
17maintainers       julian@jabber.org
18categories        archivers
19platforms         darwin
20homepage          http://parchive.sourceforge.net/
21master_sites      sourceforge:parchive
22
23checksums         md5 1551b63e57e3c232254dc62073b723a9 \
24                  sha1 2fcdc932b5d7b4b1c68c4a4ca855ca913d464d2f \
25                  rmd160 e98dc84fa7a4304b8d71c1d373fdce0bca1e6290
26
27distname          par2cmdline-${version}
28
29configure.args    --mandir=${prefix}/share/man
30
31test.run          yes
32test.target       check
33
34post-destroot {
35    set docdir ${prefix}/share/doc/${name}-${version}
36    xinstall -d ${destroot}${docdir}
37    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING README ROADMAP \
38        ${destroot}${docdir}
39}
40
41platform darwin 8 {
42    patchfiles-append   patch-reedsolomon_cpp
43}
44
45platform darwin 9 {
46    patchfiles-append   patch-reedsolomon_cpp
47}
48
49livecheck.distname  par2cmdline
Note: See TracBrowser for help on using the repository browser.