openbsd-ports/devel/cmake/Makefile
sthen 88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00

61 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.51 2012/03/29 13:38:13 sthen Exp $
VMEM_WARNING = Yes
BROKEN-arm = build fails since move to gcc4
HOMEPAGE = http://www.cmake.org/
CATEGORIES = devel
COMMENT = portable build system
DISTNAME = cmake-2.8.7
REVISION = 0
MASTER_SITES = ${HOMEPAGE}files/v2.8/
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# BSD
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = archive c curl curses expat form m \
stdc++ z
LIB_DEPENDS = archivers/libarchive \
net/curl
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = --prefix=${PREFIX} \
--datadir=/share/cmake \
--docdir=/share/doc/cmake \
--system-libs
PORTHOME = ${WRKDIR}
SEPARATE_BUILD = Yes
USE_GROFF = Yes
REGRESS_TARGET = test
MAKE_FLAGS += VERBOSE=1
pre-configure:
@cp ${FILESDIR}/*.cmake ${WRKSRC}/Modules/
${SUBST_CMD} ${WRKSRC}/Modules/CMakeDetermineJavaCompiler.cmake \
${WRKSRC}/Modules/FindJNI.cmake \
${WRKSRC}/Modules/FindJava.cmake \
${WRKSRC}/Modules/FindMPEG.cmake \
${WRKSRC}/Modules/FindMPEG2.cmake \
${WRKSRC}/Modules/FindQt.cmake \
${WRKSRC}/Modules/FindQt3.cmake \
${WRKSRC}/Modules/FindSDL.cmake \
${WRKSRC}/Modules/FindwxWindows.cmake \
${WRKSRC}/Modules/UseJava.cmake
post-install:
@rm ${WRKINST}/${LOCALBASE}/share/cmake/Modules/*.{beforesubst,orig}
@rm ${WRKINST}/${LOCALBASE}/share/cmake/Modules/Compiler/*.orig
@rm ${WRKINST}/${LOCALBASE}/share/cmake/Modules/Platform/*.orig
.include <bsd.port.mk>