[39602] trunk/dports/lang/pure/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 26 00:04:50 PDT 2008
Revision: 39602
http://trac.macosforge.org/projects/macports/changeset/39602
Author: ryandesign at macports.org
Date: 2008-08-26 00:04:49 -0700 (Tue, 26 Aug 2008)
Log Message:
-----------
pure: update to 0.5 and merge r39600 from pure-devel (allow llvm or llvm-devel to satisfy the dependency but prevent installation with llvm < 2.4)
Modified Paths:
--------------
trunk/dports/lang/pure/Portfile
Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile 2008-08-26 07:03:46 UTC (rev 39601)
+++ trunk/dports/lang/pure/Portfile 2008-08-26 07:04:49 UTC (rev 39602)
@@ -3,7 +3,7 @@
PortSystem 1.0
name pure
-version 0.4
+version 0.5
categories lang
platforms darwin
maintainers ryandesign
@@ -24,17 +24,25 @@
hence programs run blazingly fast and interfacing to C modules is easy.
checksums \
- md5 00ca39b18e8dc225d7d4c0beb37bb3a3 \
- sha1 aa7a7441ca4b6cd23dc2647f662dc74bc83220ca \
- rmd160 55dc22f5449dfd63f66a8e327bf9b41f494d51fe
+ md5 728a88503ffb64f3b299758c65011dac \
+ sha1 b33249d2982a1e97aca4de4ff9619237687ef594 \
+ rmd160 29692540dfe6afafcee88b01627591864b850abd
depends_lib \
port:gmp \
port:libiconv \
port:libtool \
- port:llvm \
+ path:${prefix}/bin/llvm-config:llvm-devel \
port:readline
+pre-fetch {
+ set llvm_minimum_version 2.4
+ set llvm_installed_version [exec llvm-config --version]
+ if {[rpm-vercomp ${llvm_installed_version} ${llvm_minimum_version}] < 0} {
+ return -code error "${name} ${version} requires llvm ${llvm_minimum_version} or later but you have llvm ${llvm_installed_version}. Please deactivate llvm and install llvm-devel and try again."
+ }
+}
+
test.run yes
test.target check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080826/e23c37af/attachment.html
More information about the macports-changes
mailing list