2007-08-25 04:35:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/08/25 08:35:20 espie Exp $
|
2006-07-20 05:23:13 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.cmake.org/
|
|
|
|
CATEGORIES= devel
|
|
|
|
COMMENT= portable build system
|
2007-08-25 04:35:20 -04:00
|
|
|
DISTNAME= cmake-2.4.7
|
|
|
|
PKGNAME= ${DISTNAME}
|
2006-07-20 05:23:13 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/v2.4/
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_SCRIPT= ${WRKSRC}/bootstrap
|
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} MAKE=make
|
2006-12-18 11:04:31 -05:00
|
|
|
CONFIGURE_ARGS= --prefix=${LOCALBASE} --docdir=/share/doc/CMake \
|
|
|
|
--datadir=/share/CMake --system-libs
|
2006-07-20 05:23:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LIB_DEPENDS= curl::net/curl \
|
2006-12-18 11:04:31 -05:00
|
|
|
xmlrpc,xmlrpc_client,xmlrpc_util,xmlrpc_xmlparse,xmlrpc_xmltok::net/xmlrpc-c
|
2006-07-20 05:23:13 -04:00
|
|
|
|
2007-05-14 16:40:15 -04:00
|
|
|
WANTLIB= expat m curses c stdc++ z crypto pthread ssl idn
|
2006-07-20 05:23:13 -04:00
|
|
|
|
|
|
|
# Add these if you need to figure out what's going on.
|
|
|
|
#CONFIGURE_ARGS+= --verbose
|
|
|
|
#MAKE_FLAGS= VERBOSE=1
|
|
|
|
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
# For the registry test to work
|
|
|
|
pre-regress:
|
|
|
|
mkdir -p ${WRKDIR}/registryhome
|
|
|
|
REGRESS_FLAGS=HOME=${WRKDIR}/registryhome
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|