aboutsummaryrefslogtreecommitdiffstats
path: root/devel/physfs/Makefile
blob: e00ee7a0689c30bbaae3f575f006559d7ac5f422 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
# $FreeBSD$

PORTNAME=   physfs
PORTVERSION=    2.0.3
CATEGORIES= devel
MASTER_SITES=   http://offload1.icculus.org:9090/${PORTNAME}/downloads/

MAINTAINER= oliver@FreeBSD.org
COMMENT=    Library to provide abstract access to various archives

USE_BZIP2=  yes
USES=       cmake
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes

patch-autotools-libtool:
    @${DO_NADA}

post-patch:
    @${REINPLACE_CMD} -e \
        's|CHECK_INCLUDE_FILE(sys/ucred.h HAVE_UCRED_H|& "-include sys/param.h"|g' \
        ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>