aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-09-02 21:39:32 +0800
committerrakuco <rakuco@FreeBSD.org>2014-09-02 21:39:32 +0800
commitdae2abf97aba578a7e095e751dad74e014860b41 (patch)
tree2689057c1311a05f070b1e1c7049a585f2fa90d8
parent13241de23fcad0089d32f1b85eff1784cb9f4088 (diff)
downloadfreebsd-ports-gnome-dae2abf97aba578a7e095e751dad74e014860b41.tar.gz
freebsd-ports-gnome-dae2abf97aba578a7e095e751dad74e014860b41.tar.zst
freebsd-ports-gnome-dae2abf97aba578a7e095e751dad74e014860b41.zip
Commit the changes to devel/cmake's Makefile that should've been part of r366996.
Still no idea how it wasn't committed.
-rw-r--r--devel/cmake/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index 42d4333230ae..147bc57aec33 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -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>