[76862] trunk/dports/archivers/dact/Portfile
rmstonecipher at macports.org
rmstonecipher at macports.org
Thu Mar 10 20:33:02 PST 2011
Revision: 76862
http://trac.macports.org/changeset/76862
Author: rmstonecipher at macports.org
Date: 2011-03-10 20:33:02 -0800 (Thu, 10 Mar 2011)
Log Message:
-----------
archivers/dact upgraded version from 0.8.41 to 0.8.42, revised to depend upon lzo2 rather than lzo, fixed livecheck
Modified Paths:
--------------
trunk/dports/archivers/dact/Portfile
Modified: trunk/dports/archivers/dact/Portfile
===================================================================
--- trunk/dports/archivers/dact/Portfile 2011-03-11 04:00:16 UTC (rev 76861)
+++ trunk/dports/archivers/dact/Portfile 2011-03-11 04:33:02 UTC (rev 76862)
@@ -3,7 +3,7 @@
PortSystem 1.0
name dact
-version 0.8.41
+version 0.8.42
categories archivers
platforms darwin
maintainers nomaintainer
@@ -17,41 +17,14 @@
homepage http://www.rkeene.org/oss/dact/
master_sites http://www.rkeene.org/files/oss/dact/release/
-checksums md5 f6b33e18e9680c08835e93f8673dea8d \
- sha1 a87db20ae7bf4ffd1b5d37c7e3be70c84661e379 \
- rmd160 015544501df128da869f837b64579de53028a163
+checksums md5 60d6ea03a08d14108ee155d2fbf1eadc \
+ sha1 f0ff1ff8a3eae9e15eeb3c9b567c7cd7f829eaac \
+ rmd160 2f79cb5a1baa64767253b499b6f0121c8f5a3857
-post-patch {
- # checking how to create shared objects... cant
- # configure: error: We are unable to make shared objects.
-
- reinplace "s/ -bind_at_load//" ${worksrcpath}/configure
-
- # Loadable objects are bundles on OS X
-
- reinplace "s/=\\.so/=\\.bundle/g" ${worksrcpath}/Makefile.in
- reinplace -E "s/\[\[:<:\]\]so\[\[:>:\]\]/bundle/g" \
- ${worksrcpath}/Makefile.in \
- ${worksrcpath}/Makefile.dep
- reinplace -E "/AS_MODULE/s/(SHOBJLDFLAGS)/\\1:dynamiclib=bundle/" \
- ${worksrcpath}/Makefile.in
- reinplace -E "/for/s/\\(MODS\\)/(ALGO:.c=.bundle)/" ${worksrcpath}/Makefile.in
-
- # ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
- # module_shr.o definition of common _modules (size 1024)
- # net_shr.o definition of common _dact_urls (size 3072)
- # ui_shr.o definition of common _dact_ui_statusvar (size 128)
-
- reinplace -E "s/^(void)/static \\1/" ${worksrcpath}/module.c
- reinplace -E "/^extern void/d" ${worksrcpath}/module.h
- reinplace -E "s/^(struct.*;)\$/static \\1/" ${worksrcpath}/net.c
- reinplace -E "s/^(char.*;)\$/static \\1/" ${worksrcpath}/ui.c
-}
-
depends_lib port:libmcrypt \
port:zlib \
port:bzip2 \
- port:lzo
+ port:lzo2
configure.args --mandir=${prefix}/share/man \
--disable-chkvers
@@ -73,4 +46,4 @@
livecheck.type regex
livecheck.url ${homepage}
-livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
+livecheck.regex Version\:</b> (\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110310/b6c76f8a/attachment-0001.html>
More information about the macports-changes
mailing list