Ticket #45852: Portfile

File Portfile, 1.2 KB (added by khepler, 9 years ago)
Line 
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
4PortSystem      1.0
5PortGroup       cmake 1.0
6
7name            physfs
8version         2.0.3
9categories      devel
10license         zlib
11maintainers     users.sourceforge.net:luiji
12platforms       darwin
13description     PhysicsFS is a library providing abstract archive access
14
15long_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
21homepage        http://icculus.org/physfs/
22master_sites    ${homepage}downloads/ gentoo
23use_bzip2       yes
24
25checksums       sha1    327308c777009a41bbabb9159b18c4c0ac069537 \
26                rmd160  a6122fe69bdb213409dbfc4927c7a5782e063e21
27
28depends_lib     port:zlib port:readline
29
30patchfiles      patch-CMakeLists.txt.diff
31
32configure.args-append -DPHYSFS_BUILD_WX_TEST=FALSE
33
34livecheck.type  regex
35livecheck.url   $master_sites
36livecheck.regex $name-(\\d+(?:\\.\\d+)*)
37
38if {${os.arch} eq "ppc" && ${os.major} >= 9} {
39    patchfiles-append patch-CMakeLists-Leopard.txt.diff
40}