openbsd-ports/devel/cmake/Makefile
dcoppa d16c6eb57e Do not pick up gmake first if installed (even without 'USE_GMAKE=Yes')
Add '--parallel=${MAKE_JOBS}' to CONFIGURE_ARGS

Add '--verbose' to CONFIGURE_ARGS

Remove USE_GROFF
2013-01-02 08:59:59 +00:00

68 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.74 2013/01/02 08:59:59 dcoppa Exp $
VMEM_WARNING = Yes
BROKEN-arm = build fails since move to gcc4
DPB_PROPERTIES =parallel
HOMEPAGE = http://www.cmake.org/
CATEGORIES = devel
COMMENT = portable build system
DISTNAME = cmake-2.8.10.2
REVISION = 1
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 \
--parallel=${MAKE_JOBS} \
--system-libs \
--verbose
CONFIGURE_ENV += MAKE=${MAKE_PROGRAM}
PORTHOME = ${WRKDIR}
SEPARATE_BUILD = Yes
REGRESS_TARGET = test
MAKE_FLAGS += VERBOSE=1
pre-configure:
cp ${FILESDIR}/*.cmake ${WRKSRC}/Modules/
${SUBST_CMD} ${WRKSRC}/Modules/CMakeDetermineJavaCompiler.cmake \
${WRKSRC}/Modules/FindFreetype.cmake \
${WRKSRC}/Modules/FindJNI.cmake \
${WRKSRC}/Modules/FindJava.cmake \
${WRKSRC}/Modules/FindLuaLibs.cmake \
${WRKSRC}/Modules/FindMPEG.cmake \
${WRKSRC}/Modules/FindMPEG2.cmake \
${WRKSRC}/Modules/FindQt.cmake \
${WRKSRC}/Modules/FindQt3.cmake \
${WRKSRC}/Modules/FindQt4.cmake \
${WRKSRC}/Modules/FindSDL.cmake \
${WRKSRC}/Modules/FindTCL.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>