[68519] trunk/dports/graphics/openvrml/Portfile
raphael at macports.org
raphael at macports.org
Sat Jun 5 04:02:03 PDT 2010
Revision: 68519
http://trac.macports.org/changeset/68519
Author: raphael at macports.org
Date: 2010-06-05 04:01:59 -0700 (Sat, 05 Jun 2010)
Log Message:
-----------
openvrml:
* update to 0.18.6
* use xcodeversion portgroup
* make direct dependencies explicit
* remove check for active mesa port; see #23713
* fix livecheck
Modified Paths:
--------------
trunk/dports/graphics/openvrml/Portfile
Modified: trunk/dports/graphics/openvrml/Portfile
===================================================================
--- trunk/dports/graphics/openvrml/Portfile 2010-06-05 10:53:42 UTC (rev 68518)
+++ trunk/dports/graphics/openvrml/Portfile 2010-06-05 11:01:59 UTC (rev 68519)
@@ -2,10 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup xcodeversion 1.0
name openvrml
-version 0.18.5
-revision 1
+version 0.18.6
categories graphics x11
maintainers raphael openmaintainer
description a cross-platform VRML and X3D browser and C++ runtime \
@@ -21,9 +21,9 @@
license LGPL-3
platforms darwin
master_sites sourceforge
-checksums md5 af1a307130d9af0621bdd29c8ea3c2f2 \
- sha1 c9acd9522a763ff49a0d882a4435d517bd542ddd \
- rmd160 e202ddcbd030bae38bb138694a603234409d5c76
+checksums md5 25dbcc72f44d3ced197af2d25eb378c5 \
+ sha1 6ab47542c75eb0102ef71b5596dcfbc2f9c76ad6 \
+ rmd160 3938842b795c759ac157c057f8cabcb2d975ae79
depends_lib port:boost \
port:libpng \
@@ -31,25 +31,14 @@
port:fontconfig \
port:mesa \
port:libxml2 \
+ port:zlib \
+ port:libiconv \
path:lib/pkgconfig/sdl.pc:libsdl \
path:bin/glibtool:libtool
depends_build port:pkgconfig
-pre-extract { if {"darwin" == ${os.platform} && 9 == ${os.major}} {
- set minimum_xcodeversion 3.1
- set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
- if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
- ui_msg "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
- return -code error "incompatible Xcode version"
- }
- }
-}
+minimum_xcodeversions {9 3.1}
-pre-configure { if {[variant_isset no_x11] && [file exists ${prefix}/lib/pkgconfig/gl.pc]} {
- ui_msg "Please deactivate mesa with \"sudo port deactivate mesa\" before building openvrml."
- return -code error "mesa should be deactivated"
- }
-}
configure.args --disable-script-node-javascript \
--disable-script-node-java \
--disable-xembed \
@@ -125,5 +114,5 @@
}
livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex "OpenVRML (.*) has been released."
+livecheck.url http://sourceforge.net/projects/${name}/files/
+livecheck.regex ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100605/ace850b8/attachment.html>
More information about the macports-changes
mailing list