[31408] trunk/dports/archivers/unrar/Portfile
nox at macports.org
nox at macports.org
Thu Nov 22 09:20:28 PST 2007
Revision: 31408
http://trac.macosforge.org/projects/macports/changeset/31408
Author: nox at macports.org
Date: 2007-11-22 09:20:27 -0800 (Thu, 22 Nov 2007)
Log Message:
-----------
unrar:
* Fixed universal support.
* Removed useless join argument.
* Changed {{{livecheck.regex}}} to something more beautiful.
Modified Paths:
--------------
trunk/dports/archivers/unrar/Portfile
Modified: trunk/dports/archivers/unrar/Portfile
===================================================================
--- trunk/dports/archivers/unrar/Portfile 2007-11-22 16:06:15 UTC (rev 31407)
+++ trunk/dports/archivers/unrar/Portfile 2007-11-22 17:20:27 UTC (rev 31408)
@@ -3,6 +3,7 @@
PortSystem 1.0
name unrar
+set my_name ${name}src
version 3.7.8
categories archivers
platforms darwin freebsd
@@ -16,7 +17,7 @@
homepage http://www.rarlab.com/
master_sites ${homepage}rar/
-distname ${name}src-${version}
+distname ${my_name}-${version}
checksums md5 b783f1932bc0c73902c6399f7c2c6f43 \
sha1 b2146b8021274cd6a0a3b816b2ec6f241c62baea \
@@ -24,9 +25,11 @@
worksrcdir ${name}
+configure.universal_ldflags-append -isysroot ${sysroot}
+
configure {
- reinplace -E "/^CXXFLAGS/s|\$| [join ${configure.cflags} " "]\\\n\
- LDFLAGS=[join ${configure.ldflags} " "]|" \
+ reinplace -E "/^CXXFLAGS/s|\$| [join ${configure.cflags}]\\\n\
+ LDFLAGS=[join ${configure.ldflags}]|" \
${worksrcpath}/makefile.unix
}
@@ -42,5 +45,5 @@
livecheck.check regex
livecheck.url ${master_sites}?C=M&O=D
-livecheck.regex "[strsed ${distname} {/[.0-9]*$//}](\\d+(?:\\.\\d+)*)"
+livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/b8a1393b/attachment.html
More information about the macports-changes
mailing list