[87853] trunk/dports/net/librsync/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Dec 9 02:02:53 PST 2011
Revision: 87853
http://trac.macports.org/changeset/87853
Author: ryandesign at macports.org
Date: 2011-12-09 02:02:48 -0800 (Fri, 09 Dec 2011)
Log Message:
-----------
librsync: add forgotten bzip2 popt zlib dependencies and increase revision; rewrite master_sites to avoid redirects; simplify getting archflags
Modified Paths:
--------------
trunk/dports/net/librsync/Portfile
Modified: trunk/dports/net/librsync/Portfile
===================================================================
--- trunk/dports/net/librsync/Portfile 2011-12-09 07:52:27 UTC (rev 87852)
+++ trunk/dports/net/librsync/Portfile 2011-12-09 10:02:48 UTC (rev 87853)
@@ -5,7 +5,7 @@
name librsync
version 0.9.7
-revision 1
+revision 2
categories net devel
platforms darwin
maintainers nomaintainer
@@ -20,8 +20,13 @@
applications. librsync is not wire-compatible with rsync 2.x, \
and is not likely to be in the future.
homepage http://librsync.sourceforge.net/
-master_sites sourceforge
+master_sites sourceforge:project/librsync/librsync/${version}
checksums md5 24cdb6b78f45e0e83766903fd4f6bc84
+
+depends_lib port:bzip2 \
+ port:popt \
+ port:zlib
+
# These patches have been downloaded into the MacPorts repository since it saves
# having to fetch them from CVS. Respectively, they can be viewed at:
#
@@ -34,18 +39,10 @@
configure.args --mandir=${prefix}/share/man \
--enable-shared
+variant universal {}
post-configure {
- if {[variant_isset universal]} {
- reinplace -E "s|compiler_flags=$|compiler_flags=' ${configure.universal_cflags}'|" \
- ${worksrcpath}/libtool
- reinplace -E "s|linker_flags=$|linker_flags=' ${configure.universal_ldflags}'|" \
- ${worksrcpath}/libtool
- } else {
- reinplace -E "s|compiler_flags=$|compiler_flags=' ${configure.cc_archflags}'|" \
- ${worksrcpath}/libtool
- reinplace -E "s|linker_flags=$|linker_flags=' ${configure.ld_archflags}'|" \
- ${worksrcpath}/libtool
- }
+ reinplace -E "s|compiler_flags=$|compiler_flags=' [get_canonical_archflags cc]'|" ${worksrcpath}/libtool
+ reinplace -E "s|linker_flags=$|linker_flags=' [get_canonical_archflags ld]'|" ${worksrcpath}/libtool
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111209/6b465f23/attachment-0001.html>
More information about the macports-changes
mailing list