freebsd-ports/devel/physfs-devel/Makefile

37 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: physfs
# Date Created: 26 July 2003
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= physfs
2007-04-05 06:44:24 +02:00
PORTVERSION= 1.1.1
2009-03-24 20:13:32 +01:00
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://offload1.icculus.org/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
USE_CMAKE= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
2007-04-05 06:44:24 +02:00
USE_LDCONFIG= yes
NO_LATEST_LINK= yes
2010-12-04 08:34:27 +01:00
patch-autotools-libtool:
2007-04-05 06:44:24 +02:00
@${DO_NADA}
2006-03-20 18:59:44 +01:00
post-patch:
2007-04-05 06:44:24 +02:00
@${REINPLACE_CMD} -e \
's|CHECK_INCLUDE_FILE(sys/ucred.h HAVE_UCRED_H|& "-include sys/param.h"|g; \
s|CHECK_INCLUDE_FILE(readline/readline.h HAVE_READLINE_H|& "-include stdio.h"|g; \
s|CHECK_INCLUDE_FILE(readline/history.h HAVE_HISTORY_H|& "-include stdio.h"|g; \
s|CHECK_LIBRARY_EXISTS("readline" "history.*|SET(HAVE_LIBHISTORY TRUE)|g; \
s|" " \(readline curses\)|\1|' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|\(define SIZEOF_INT\) 4|\1 (LONG_BIT/8)|g' \
2007-04-05 06:44:24 +02:00
${WRKSRC}/platform/unix.c
.include <bsd.port.mk>