# -*- 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
# $Id: Portfile 64577 2010-03-09 17:20:34Z raphael@macports.org $

PortSystem      1.0
PortGroup       cmake 1.0

name            physfs
version         2.0.0
revision        1
categories      devel
maintainers     nomaintainer
platforms       darwin
description     library providing abstract archive access

long_description \
    PhysicsFS is a library to provide abstract access \
    to various archives. It is intended for use in \
    video games, and the design was somewhat inspired \
    by Quake 3's file subsystem.

homepage        http://icculus.org/physfs/
master_sites    ${homepage}downloads/

checksums       md5     cfc53e0c193914c9c5ab522e58737373 \
                sha1    3cfa291a82f2b0cf15b205efcf8bf53c0b54c92c \
                rmd160  ee2174f7196ff66b16df3bcd4b1c2946f20b088b

depends_lib     port:zlib

patch.pre_args  -p2
patchfiles      f254870dd7dd.diff

configure.args-append -DPHYSFS_BUILD_WX_TEST=FALSE

livecheck.type  regex
livecheck.url   $master_sites
livecheck.regex $name-(\\d+(?:\\.\\d+)*)
