1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 113170 2013-11-11 09:42:20Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name physfs |
---|
8 | version 2.0.3 |
---|
9 | categories devel |
---|
10 | license zlib |
---|
11 | maintainers users.sourceforge.net:luiji |
---|
12 | platforms darwin |
---|
13 | description PhysicsFS is a library providing abstract archive access |
---|
14 | |
---|
15 | long_description \ |
---|
16 | PhysicsFS is a library to provide abstract access \ |
---|
17 | to various archives. It is intended for use in \ |
---|
18 | video games, and the design was somewhat inspired \ |
---|
19 | by Quake 3's file subsystem. |
---|
20 | |
---|
21 | homepage http://icculus.org/physfs/ |
---|
22 | master_sites ${homepage}downloads/ gentoo |
---|
23 | use_bzip2 yes |
---|
24 | |
---|
25 | checksums sha1 327308c777009a41bbabb9159b18c4c0ac069537 \ |
---|
26 | rmd160 a6122fe69bdb213409dbfc4927c7a5782e063e21 |
---|
27 | |
---|
28 | depends_lib port:zlib port:readline |
---|
29 | |
---|
30 | patchfiles patch-CMakeLists.txt.diff |
---|
31 | |
---|
32 | configure.args-append -DPHYSFS_BUILD_WX_TEST=FALSE |
---|
33 | |
---|
34 | livecheck.type regex |
---|
35 | livecheck.url $master_sites |
---|
36 | livecheck.regex $name-(\\d+(?:\\.\\d+)*) |
---|
37 | |
---|
38 | if {${os.arch} eq "ppc" && ${os.major} >= 9} { |
---|
39 | patchfiles-append patch-CMakeLists-Leopard.txt.diff |
---|
40 | } |
---|