[98114] trunk/dports/devel/libzookeeper/Portfile
hum at macports.org
hum at macports.org
Tue Sep 25 05:26:31 PDT 2012
Revision: 98114
http://trac.macports.org//changeset/98114
Author: hum at macports.org
Date: 2012-09-25 05:26:31 -0700 (Tue, 25 Sep 2012)
Log Message:
-----------
libzookeeper: update to 3.4.4; install additional documents.
Modified Paths:
--------------
trunk/dports/devel/libzookeeper/Portfile
Modified: trunk/dports/devel/libzookeeper/Portfile
===================================================================
--- trunk/dports/devel/libzookeeper/Portfile 2012-09-25 12:22:01 UTC (rev 98113)
+++ trunk/dports/devel/libzookeeper/Portfile 2012-09-25 12:26:31 UTC (rev 98114)
@@ -4,7 +4,7 @@
PortSystem 1.0
name libzookeeper
-version 3.3.6
+version 3.4.4
categories devel
maintainers hum openmaintainer
@@ -25,31 +25,26 @@
distname zookeeper-${version}
dist_subdir zookeeper
master_sites apache:zookeeper/stable
-checksums rmd160 6f72d4bd19059357468589320026de4a0da687c9 \
- sha256 eb311ec0479a9447d075a20350ecfc5cf6a2a6d9842d13b59d7548430ac37521
+checksums rmd160 775365acd30af63483ac28026a5b0a9a25b24995 \
+ sha256 aff33717de58fba95825ebea734572472d95470ca3c8e8e219da43de6db5cf25
worksrcdir ${distname}/src/c
-variant universal {}
-
-use_configure yes
-configure.args --mandir=${prefix}/share/man
-
pre-configure {
system -W "${worksrcpath}/../.." "ant compile_jute"
}
-post-configure {
- reinplace "s|-Werror||" ${worksrcpath}/Makefile
- reinplace "s|c-client-src|zookeeper|" ${worksrcpath}/Makefile
-}
+variant universal {}
-if {[string match "*clang*" ${configure.compiler}]} {
- configure.cflags-append "--std=gnu89"
-}
-
build.args CFLAGS="${configure.cflags} [get_canonical_archflags]"
+post-destroot {
+ file mkdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} \
+ ChangeLog LICENSE README \
+ ${destroot}${prefix}/share/doc/${name}
+}
+
livecheck.type regex
livecheck.url http://www.apache.org/dist/zookeeper/stable/
livecheck.regex zookeeper-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120925/84feb771/attachment.html>
More information about the macports-changes
mailing list