openbsd-ports/devel/cmake/Makefile

57 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.43 2011/07/12 08:35:29 dcoppa Exp $
VMEM_WARNING = Yes
HOMEPAGE = http://www.cmake.org/
CATEGORIES = devel
COMMENT = portable build system
DISTNAME = cmake-2.8.4
REVISION = 3
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
2010-11-15 14:45:56 -05:00
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 = simple
2010-11-15 14:45:56 -05:00
USE_GROFF = Yes
REGRESS_TARGET = test
MAKE_FLAGS += VERBOSE=1
pre-configure:
@cp ${FILESDIR}/*.cmake ${WRKSRC}/Modules/
2010-11-22 11:26:30 -05:00
${SUBST_CMD} ${WRKSRC}/Modules/FindMPEG.cmake \
${WRKSRC}/Modules/FindMPEG2.cmake \
${WRKSRC}/Modules/FindQt.cmake \
${WRKSRC}/Modules/FindQt3.cmake \
${WRKSRC}/Modules/FindSDL.cmake \
${WRKSRC}/Modules/FindwxWindows.cmake
# Remove spurious post-build files
post-install:
@rm ${WRKDIST}/Modules/*.{beforesubst,orig}
@rm ${WRKDIST}/Modules/Compiler/*.orig
@rm ${WRKDIST}/Modules/Platform/*.orig
.include <bsd.port.mk>