# New ports collection makefile for:	libclaw
# Date created:		28 Mar 2008
# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD: ports/devel/libclaw/Makefile,v 1.5 2009/07/18 11:10:15 dinoex Exp $
#

PORTNAME=	libclaw
PORTVERSION=	1.5.3
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	C++ Library Absolutely Wonderful

LIB_DEPENDS=	jpeg.10:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png

USE_BZIP2=	yes

USE_CMAKE=	yes
CMAKE_ARGS=	-DCLAW_CMAKE_MODULES_INSTALL_PATH="${PREFIX}/lib/claw"
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e '/INSTALL.*COPYING/ d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>
