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
|
2008-05-28 00:12:09 +02:00
|
|
|
PORTVERSION= 2.6.0
|
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
|
|
|
|
2008-05-28 00:12:09 +02:00
|
|
|
MAN1= ccmake.1 \
|
|
|
|
cmake.1 \
|
|
|
|
cmakecommands.1 \
|
|
|
|
cmakecompat.1 \
|
|
|
|
cmakemodules.1 \
|
|
|
|
cmakeprops.1 \
|
|
|
|
cmakevars.1 \
|
|
|
|
cpack.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 | \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
${XARGS} ${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g'
|
2006-12-09 21:56:44 +01:00
|
|
|
|
2002-09-21 02:57:59 +02:00
|
|
|
.include <bsd.port.mk>
|