aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/cmake/Makefile6
-rw-r--r--devel/cmake/pkg-plist1
2 files changed, 7 insertions, 0 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index a341d2fa6788..4e387da6fb33 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -7,12 +7,15 @@
PORTNAME= cmake
PORTVERSION= 2.8.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.${PORTNAME}.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/
MAINTAINER= kde@FreeBSD.org
COMMENT= A cross-platform Makefile generator
+LICENSE= BSD
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--datadir="/${DATADIR_REL}" \
@@ -51,4 +54,7 @@ post-patch:
${WRKSRC}/Modules/FindDCMTK.cmake
@${FIND} ${WRKSRC} -name "*.bak" -delete -o -name "*.orig" -delete
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/Docs/cmake-mode.el ${PREFIX}/share/emacs/site-lisp
+
.include <bsd.port.mk>
diff --git a/devel/cmake/pkg-plist b/devel/cmake/pkg-plist
index 914ef3783f80..9ef56a8ee5e6 100644
--- a/devel/cmake/pkg-plist
+++ b/devel/cmake/pkg-plist
@@ -3,6 +3,7 @@ bin/cmake
bin/cpack
bin/ctest
share/aclocal/cmake.m4
+share/emacs/site-lisp/cmake-mode.el
%%DATADIR%%/Modules/.NoDartCoverage
%%DATADIR%%/Modules/AddFileDependencies.cmake
%%DATADIR%%/Modules/AutomocInfo.cmake.in