Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 13:39:33 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367002 - head/devel/cmake
Message-ID:  <201409021339.s82DdX36038975@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Sep  2 13:39:32 2014
New Revision: 367002
URL: http://svnweb.freebsd.org/changeset/ports/367002
QAT: https://qat.redports.org/buildarchive/r367002/

Log:
  Commit the changes to devel/cmake's Makefile that should've been part of r366996.
  
  Still no idea how it wasn't committed.

Modified:
  head/devel/cmake/Makefile

Modified: head/devel/cmake/Makefile
==============================================================================
--- head/devel/cmake/Makefile	Tue Sep  2 13:25:18 2014	(r367001)
+++ head/devel/cmake/Makefile	Tue Sep  2 13:39:32 2014	(r367002)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	cmake
-PORTVERSION=	2.8.12.1
-PORTREVISION?=	4
+PORTVERSION=	3.0.1
+PORTREVISION?=	0
 CATEGORIES=	devel
-MASTER_SITES=	http://www.cmake.org/files/v2.8/
+MASTER_SITES=	http://www.cmake.org/files/v3.0/
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT?=	Cross-platform Makefile generator
@@ -18,6 +18,8 @@ CONFIGURE_ENV=	MAKE=make
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--datadir="/${DATADIR_REL}" \
 		--docdir="/${DOCSDIR_REL}" \
+		--sphinx-man \
+		--system-libs \
 		--init="${PATCHDIR}/InitialCache.cmake"
 
 .if defined(STRIP) && ${STRIP} != ""
@@ -28,6 +30,10 @@ INSTALL_TARGET=	install/strip
 OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 HAS_CONFIGURE=	yes
+
+BUILD_DEPENDS=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
+LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
+		libexpat.so:${PORTSDIR}/textproc/expat2
 RUN_DEPENDS=	${LOCALBASE}/share/cmake/Modules/CMake.cmake:${PORTSDIR}/devel/cmake-modules
 .endif
 
@@ -46,9 +52,13 @@ post-patch:
 	   	${WRKSRC}/Modules/FindDCMTK.cmake
 	@${FIND} ${WRKSRC} -name "*.bak" -delete -o -name "*.orig" -delete
 
+# cmake-gui(1) is installed by devel/cmake-gui. Remove the man page's source to
+# prevent it from being built/installed by devel/cmake.
+	${RM} ${WRKSRC}/Help/manual/cmake-gui.1.rst
+
 .if !defined(CMAKE_MODULES)
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/Docs/cmake-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
+	${INSTALL_DATA} ${WRKSRC}/Auxiliary/cmake-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409021339.s82DdX36038975>