2002-09-21 02:57:59 +02:00
|
|
|
# New ports collection makefile for: cmake
|
|
|
|
# Date created: March 18 2002
|
|
|
|
# Whom: Kyle Martin <mkm@ieee.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cmake
|
2007-02-02 15:34:55 +01:00
|
|
|
PORTVERSION= 2.4.6
|
2002-09-21 02:57:59 +02:00
|
|
|
CATEGORIES= devel
|
2006-03-31 22:53:43 +02:00
|
|
|
MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR=lofi
|
2002-09-21 02:57:59 +02:00
|
|
|
|
2006-03-31 22:53:43 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= A cross-platform make
|
2002-09-21 02:57:59 +02:00
|
|
|
|
2005-12-23 00:04:47 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--datadir=${DATADIR:S|^${PREFIX}||} \
|
|
|
|
--docdir=${DOCSDIR:S|^${PREFIX}||}
|
2006-03-31 22:53:43 +02:00
|
|
|
CONFIGURE_ENV= MAKE=make
|
2002-10-25 08:27:22 +02:00
|
|
|
|
2004-04-17 14:55:24 +02:00
|
|
|
MAN1= ccmake.1 cmake.1 ctest.1
|
2002-09-21 02:57:59 +02:00
|
|
|
|
2006-12-09 21:56:44 +01:00
|
|
|
post-patch:
|
|
|
|
@${GREP} -rl '/usr/X11R6' ${WRKSRC}/Modules ${WRKSRC}/Tests | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g'
|
|
|
|
|
2002-09-21 02:57:59 +02:00
|
|
|
.include <bsd.port.mk>
|