# New ports collection makefile for:    cmake
# Date created:         March 18 2002
# Whom:                 Kyle Martin <mkm@ieee.org>
#
# $FreeBSD: ports/devel/cmake/Makefile,v 1.16 2006/08/13 19:14:23 arved Exp $
#

PORTNAME=	cmake
PORTVERSION=	2.4.3
CATEGORIES=	devel
MASTER_SITES=	http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=lofi

MAINTAINER=	kde@FreeBSD.org
COMMENT=	A cross-platform make

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--datadir=${DATADIR:S|^${PREFIX}||} \
		--docdir=${DOCSDIR:S|^${PREFIX}||}
CONFIGURE_ENV=	MAKE=make

MAN1=		ccmake.1 cmake.1 ctest.1

.include <bsd.port.mk>
