[94975] trunk/dports/devel/liblzma/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 3 00:09:28 PDT 2012
Revision: 94975
https://trac.macports.org/changeset/94975
Author: ryandesign at macports.org
Date: 2012-07-03 00:09:28 -0700 (Tue, 03 Jul 2012)
Log Message:
-----------
liblzma: prevent installation of this port, since it has been replaced_by the xz port; see wiki:PortfileRecipes#replaced-by
Modified Paths:
--------------
trunk/dports/devel/liblzma/Portfile
Modified: trunk/dports/devel/liblzma/Portfile
===================================================================
--- trunk/dports/devel/liblzma/Portfile 2012-07-03 07:08:41 UTC (rev 94974)
+++ trunk/dports/devel/liblzma/Portfile 2012-07-03 07:09:28 UTC (rev 94975)
@@ -3,8 +3,7 @@
PortSystem 1.0
name liblzma
-version 5.0.3
-revision 1
+version 5.0.4
categories devel
platforms darwin
license public-domain
@@ -17,22 +16,14 @@
API to that of zlib.
homepage http://tukaani.org/xz/
-master_sites ${homepage}
-use_bzip2 yes
-distname xz-${version}
-dist_subdir xz
+distfiles
+
replaced_by xz
-checksums sha1 79661fd1c24603437e325d76732046b1da683b32 \
- rmd160 10127da6e2e35e5e92b3125f6088c756b80931e5
+pre-configure {
+ ui_error "${name} has been integrated into the ${replaced_by} port; please install ${replaced_by} instead."
+ return -code error "obsolete port"
+}
-# the internal "check.h" header conflicts with port check's <check.h>
-configure.cppflags -I${worksrcpath}/src/liblzma/check -I${prefix}/include
-
-build.dir ${worksrcpath}/src/liblzma
-destroot.dir ${worksrcpath}/src/liblzma
-
-livecheck.url ${homepage}
-livecheck.regex xz-(\[0-9.a-z\]*)\.tar\.gz
-livecheck.type regexm
+livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120703/3c0a81b9/attachment.html>
More information about the macports-changes
mailing list