[27984] trunk/dports/archivers/libarxx/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 16 20:00:09 PDT 2007


Revision: 27984
          http://trac.macosforge.org/projects/macports/changeset/27984
Author:   nox at macports.org
Date:     2007-08-16 20:00:08 -0700 (Thu, 16 Aug 2007)

Log Message:
-----------
libarxx:
 * Updated to 0.7.8.
 * Added test target.
 * Changed the dependencies.
 * Added sha1 and rmd160 checksums.
 * Fixed livecheck.
 * Fixed documentation installation directory.

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

Modified: trunk/dports/archivers/libarxx/Portfile
===================================================================
--- trunk/dports/archivers/libarxx/Portfile	2007-08-17 01:36:21 UTC (rev 27983)
+++ trunk/dports/archivers/libarxx/Portfile	2007-08-17 03:00:08 UTC (rev 27984)
@@ -1,27 +1,45 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem		1.0
 
 name			libarxx
-version			0.5.1
+version			0.7.8
 categories		archivers devel
 platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		nomaintainer
 description		C++ library for using ARX archives
-long_description	libarxx is a C++ implementation for accessing ARX \
-	archives. ARX archives are compressed and structured collections of data \
-	items with advanced features like data synchronization, references for \
-	external data items, and merging multiple archives.
 
+long_description \
+				libarxx is a C++ implementation for accessing ARX \
+				archives. ARX archives are compressed and structured collections of data \
+				items with advanced features like data synchronization, references for \
+				external data items, and merging multiple archives.
+
 homepage		http://libarxx.sourceforge.net/
 master_sites	sourceforge
-checksums		md5 a3fab2c0a51cbd6aaee9ad1fbf440976
 use_bzip2		yes
 
-depends_build	port:pkgconfig
-depends_lib		port:libbuffers
+checksums		md5 4651c8e2fb5e266f17d3c70a7e323c79 \
+				sha1 a17a48dc5bc30f1fdb23e2d867a10641a1fe0a48 \
+				rmd160 d16077addbd142ef20daa31782beba3874ce703d
 
-platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 CPP=/usr/bin/cpp-4.0
+depends_lib		port:zlib \
+				port:bzip2
+
+depends_run		port:pkgconfig
+
+set docdir		${prefix}/share/doc/${name}-${version}
+
+post-patch {
+	reinplace -E "s|\\\${prefix}/doc/${name}|${docdir}|" ${worksrcpath}/Makefile.in
 }
 
+configure.args	--with-zlib \
+				--with-bzlib \
+				--docdir=${docdir}
+
+test.run		yes
+test.target		check
+
+livecheck.regex	"<title>${name} ${name}-(\\d+(?:\\.\\d+)*) released.*</title>"
+

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


More information about the macports-changes mailing list