diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-03-04 06:01:54 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-03-04 06:01:54 +0000 |
commit | ca14f82220521c03346aff87cf342a4a2756d142 (patch) | |
tree | c274106a4eb107ca8a787a76fd9381d09ea80466 /devel/cmake | |
parent | New port: dns/getdns: (diff) |
devel/cmake:
- Use KDE4_PREFIX instead of ${LOCALBASE}/kde4 [1]
- Add DOCS option after r346983
Reported by: Alan Hicks <ahicks@p-o.co.uk> via kde-freebsd maillist [1]
Notes
Notes:
svn path=/head/; revision=346987
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index 0bb931b4d7d9..e55c9fe4f3df 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -3,7 +3,7 @@ PORTNAME= cmake PORTVERSION= 2.8.12.1 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= devel MASTER_SITES= http://downloads.cmake.org/files/v2.8/ @@ -12,6 +12,7 @@ COMMENT?= Cross-platform Makefile generator LICENSE= BSD3CLAUSE +USE_KDE4= # env CONFIGURE_ENV= MAKE=make CONFIGURE_ARGS= --prefix=${PREFIX} \ --datadir="/${DATADIR_REL}" \ @@ -23,6 +24,8 @@ INSTALL_TARGET= install/strip .endif .if !defined(CMAKE_MODULES) +OPTIONS_DEFINE= DOCS +OPTIONS_SUB= yes HAS_CONFIGURE= yes RUN_DEPENDS= ${LOCALBASE}/share/cmake/Modules/CMake.cmake:${PORTSDIR}/devel/cmake-modules .endif @@ -36,7 +39,7 @@ post-patch: ${WRKSRC}/Source/cmLocalGenerator.cxx \ ${WRKSRC}/Source/CPack/cmCPackGenerator.cxx \ ${WRKSRC}/bootstrap - @${REINPLACE_CMD} -e 's,/opt/kde4,${LOCALBASE}/kde4,g' \ + @${REINPLACE_CMD} -e 's,/opt/kde4,${KDE4_PREFIX},g' \ ${WRKSRC}/Modules/FindKDE4.cmake @${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,' \ ${WRKSRC}/Modules/FindDCMTK.cmake |