[33457] trunk/dports/archivers/par2

nox at macports.org nox at macports.org
Sun Jan 27 05:44:54 PST 2008


Revision: 33457
          http://trac.macosforge.org/projects/macports/changeset/33457
Author:   nox at macports.org
Date:     2008-01-27 05:43:21 -0800 (Sun, 27 Jan 2008)

Log Message:
-----------
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.

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

Removed Paths:
-------------
    trunk/dports/archivers/par2/files/patch-commandline_cpp
    trunk/dports/archivers/par2/files/patch-par2repairer_cpp

Modified: trunk/dports/archivers/par2/Portfile
===================================================================
--- trunk/dports/archivers/par2/Portfile	2008-01-27 13:25:55 UTC (rev 33456)
+++ trunk/dports/archivers/par2/Portfile	2008-01-27 13:43:21 UTC (rev 33457)
@@ -1,36 +1,49 @@
 # $Id$
 
 PortSystem        1.0
+
 name              par2
 version           0.4
-revision          1
+revision          2
 description       Parchive: Parity Archive Volume Set for data recovery
+
 long_description  Parchive takes .par files and can regenerate missing data \
                   based upon a Reed-Soloman Code. This is useful for \
                   restoring missing pieces of a multi-part archive like the \
                   kinds used on Usenet. Version 2 does not require \
                   like-sized pieces, so it is useful for many more kinds of \
                   data recovery.
+
 maintainers       julian at jabber.org
 categories        archivers
 platforms         darwin 
 homepage          http://parchive.sourceforge.net/
 master_sites      sourceforge:parchive
-checksums         md5 1551b63e57e3c232254dc62073b723a9
+
+checksums         md5 1551b63e57e3c232254dc62073b723a9 \
+                  sha1 2fcdc932b5d7b4b1c68c4a4ca855ca913d464d2f \
+                  rmd160 e98dc84fa7a4304b8d71c1d373fdce0bca1e6290
+
 distname          par2cmdline-${version}
+
 configure.args    --mandir=${prefix}/share/man
-configure.cppflags-append "-L${prefix}/lib"
-configure.cflags	"-no-cpp-precomp -flat_namespace -undefined suppress"
 
-platform darwin 8 powerpc {
-    configure.compiler	gcc-3.3
-    patchfiles        patch-commandline_cpp patch-par2repairer_cpp
+test.run          yes
+test.target       check
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}-${version}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING README ROADMAP \
+        ${destroot}${docdir}
 }
 
-platform darwin 8 i386 {
-    patchfiles        patch-commandline_cpp patch-par2repairer_cpp patch-reedsolomon_cpp
+platform darwin 8 {
+    patchfiles-append   patch-reedsolomon_cpp
 }
 
 platform darwin 9 {
-    patchfiles        patch-commandline_cpp patch-par2repairer_cpp patch-reedsolomon_cpp
+    patchfiles-append   patch-reedsolomon_cpp
 }
+
+livecheck.distname  par2cmdline

Deleted: trunk/dports/archivers/par2/files/patch-commandline_cpp
===================================================================
--- trunk/dports/archivers/par2/files/patch-commandline_cpp	2008-01-27 13:25:55 UTC (rev 33456)
+++ trunk/dports/archivers/par2/files/patch-commandline_cpp	2008-01-27 13:43:21 UTC (rev 33457)
@@ -1,11 +0,0 @@
---- commandline.cpp~	Tue Jun 24 09:11:02 2003
-+++ commandline.cpp	Tue Nov  4 19:28:09 2003
-@@ -27,6 +27,8 @@
- #endif
- #endif
- 
-+#define stricmp(s1,s2) strcasecmp(s1,s2)
-+
- CommandLine::ExtraFile::ExtraFile(void)
- : filename()
- , filesize(0)

Deleted: trunk/dports/archivers/par2/files/patch-par2repairer_cpp
===================================================================
--- trunk/dports/archivers/par2/files/patch-par2repairer_cpp	2008-01-27 13:25:55 UTC (rev 33456)
+++ trunk/dports/archivers/par2/files/patch-par2repairer_cpp	2008-01-27 13:43:21 UTC (rev 33457)
@@ -1,11 +0,0 @@
---- par2repairer.cpp~	Mon May 26 14:01:26 2003
-+++ par2repairer.cpp	Tue Nov  4 19:38:53 2003
-@@ -27,6 +27,8 @@
- #endif
- #endif
- 
-+#define stricmp(s1,s2) strcasecmp(s1,s2)
-+
- Par2Repairer::Par2Repairer(void)
- {
-   firstpacket = true;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080127/3ee9aa9d/attachment.html


More information about the macports-changes mailing list