# -*- 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 82258 2011-08-11 20:03:26Z jmr@macports.org $

PortSystem      1.0
PortGroup       cmake 1.0

name            physfs
version         2.0.2
categories      devel
license         zlib
maintainers     users.sourceforge.net:luiji
platforms       darwin
description     PhysicsFS is a 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/ gentoo

checksums       sha1    2d3d3cc819ad26542d34451f44050b85635344d0 \
                rmd160  9e45775c353e7b6fe0510d55063af9ddf1b7f678

depends_lib     port:zlib port:readline

patchfiles      patch-CMakeLists.txt.diff

configure.args-append -DPHYSFS_BUILD_WX_TEST=FALSE

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