2011-10-14 13:22:10 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2011/10/14 17:22:10 dcoppa Exp $
|
2010-07-12 15:19:30 -04:00
|
|
|
|
|
|
|
VMEM_WARNING = Yes
|
2006-07-20 05:23:13 -04:00
|
|
|
|
2010-05-28 16:21:48 -04:00
|
|
|
HOMEPAGE = http://www.cmake.org/
|
|
|
|
CATEGORIES = devel
|
|
|
|
COMMENT = portable build system
|
2011-10-14 13:22:10 -04:00
|
|
|
DISTNAME = cmake-2.8.6
|
2010-05-28 16:21:48 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}files/v2.8/
|
2006-07-20 05:23:13 -04:00
|
|
|
|
2010-05-28 16:21:48 -04:00
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
2006-07-20 05:23:13 -04:00
|
|
|
|
|
|
|
# BSD
|
2010-05-28 16:21:48 -04:00
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2011-03-13 14:23:01 -04:00
|
|
|
WANTLIB = archive c curl curses expat form m \
|
|
|
|
stdc++ z
|
2010-05-28 16:21:48 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS = archivers/libarchive \
|
|
|
|
net/curl
|
2010-05-28 16:21:48 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_ARGS = --prefix=${PREFIX} \
|
|
|
|
--datadir=/share/cmake \
|
|
|
|
--docdir=/share/doc/cmake \
|
|
|
|
--system-libs
|
2010-07-12 15:19:30 -04:00
|
|
|
|
|
|
|
PORTHOME = ${WRKDIR}
|
|
|
|
|
2010-05-28 16:21:48 -04:00
|
|
|
SEPARATE_BUILD = simple
|
2010-11-15 14:45:56 -05:00
|
|
|
USE_GROFF = Yes
|
2010-05-28 16:21:48 -04:00
|
|
|
|
|
|
|
REGRESS_TARGET = test
|
|
|
|
|
2010-11-15 06:39:08 -05:00
|
|
|
MAKE_FLAGS += VERBOSE=1
|
|
|
|
|
2010-05-28 16:21:48 -04:00
|
|
|
pre-configure:
|
|
|
|
@cp ${FILESDIR}/*.cmake ${WRKSRC}/Modules/
|
2011-10-14 13:22:10 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/Modules/CMakeDetermineJavaCompiler.cmake \
|
|
|
|
${WRKSRC}/Modules/FindJNI.cmake \
|
|
|
|
${WRKSRC}/Modules/FindJava.cmake \
|
|
|
|
${WRKSRC}/Modules/FindMPEG.cmake \
|
2010-05-28 16:21:48 -04:00
|
|
|
${WRKSRC}/Modules/FindMPEG2.cmake \
|
|
|
|
${WRKSRC}/Modules/FindQt.cmake \
|
|
|
|
${WRKSRC}/Modules/FindQt3.cmake \
|
|
|
|
${WRKSRC}/Modules/FindSDL.cmake \
|
2011-10-14 13:22:10 -04:00
|
|
|
${WRKSRC}/Modules/FindwxWindows.cmake \
|
|
|
|
${WRKSRC}/Modules/UseJava.cmake
|
2010-05-28 16:21:48 -04:00
|
|
|
|
2010-05-31 02:29:27 -04:00
|
|
|
post-install:
|
2011-10-08 14:55:36 -04:00
|
|
|
@rm ${WRKINST}/${LOCALBASE}/share/cmake/Modules/*.{beforesubst,orig}
|
|
|
|
@rm ${WRKINST}/${LOCALBASE}/share/cmake/Modules/Compiler/*.orig
|
|
|
|
@rm ${WRKINST}/${LOCALBASE}/share/cmake/Modules/Platform/*.orig
|
2006-07-20 05:23:13 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|