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

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

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

USES=       cmake tar:bzip2
USE_LDCONFIG=   yes

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>