aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2011-11-10 07:25:19 +0800
committerrakuco <rakuco@FreeBSD.org>2011-11-10 07:25:19 +0800
commitaa12177460cc59f7ba6460b75928af89e4ff519a (patch)
treea8da7e6d982c7c0bb45311e42b3f74807e30339e
parent33344e5b29fb66c9b88c4ebd4d67912d97c9fdc3 (diff)
downloadfreebsd-ports-gnome-aa12177460cc59f7ba6460b75928af89e4ff519a.tar.gz
freebsd-ports-gnome-aa12177460cc59f7ba6460b75928af89e4ff519a.tar.zst
freebsd-ports-gnome-aa12177460cc59f7ba6460b75928af89e4ff519a.zip
- Install cmake-mode.el [1].
- Set LICENSE. PR: ports/151830 [1] Submitted by: Anonymous <swell.k AT gmail.com> [1] Approved by: makc (mentor)
-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