pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cmake-mode cmake-mode: hook into cmake's Makefil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3d0c39d6d35
branches:  trunk
changeset: 383297:b3d0c39d6d35
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Aug 17 13:28:10 2022 +0000

description:
cmake-mode: hook into cmake's Makefile.common

diffstat:

 devel/cmake-mode/Makefile |  18 +++++-------------
 devel/cmake-mode/distinfo |   5 -----
 2 files changed, 5 insertions(+), 18 deletions(-)

diffs (46 lines):

diff -r cc425d1d5f19 -r b3d0c39d6d35 devel/cmake-mode/Makefile
--- a/devel/cmake-mode/Makefile Wed Aug 17 13:08:09 2022 +0000
+++ b/devel/cmake-mode/Makefile Wed Aug 17 13:28:10 2022 +0000
@@ -1,28 +1,20 @@
-# $NetBSD: Makefile,v 1.8 2022/05/14 22:25:33 dholland Exp $
+# $NetBSD: Makefile,v 1.9 2022/08/17 13:28:10 tnn Exp $
 #
 
-DISTNAME=      cmake-mode
-PKGNAME=       cmake-mode-20080606
-PKGREVISION=   3
-CATEGORIES=    devel
-MASTER_SITES=  http://www.cmake.org/CMakeDocs/
-EXTRACT_SUFX=  .el
+.include "../../devel/cmake/Makefile.common"
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.cmake.org/
+PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/cmake/cmake-mode/}
 COMMENT=       Emacs mode for CMake syntax highlighting and indentation
 
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-WRKSRC=                ${WRKDIR}
 USE_LANGUAGES= # none
 MESSAGE_SUBST+=        LISPDIR=${EMACS_LISPPREFIX:Q}
 
 do-build:
-       cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile cmake-mode.el
+       cd ${WRKSRC}/Auxiliary && ${EMACS_BIN} -batch -f batch-byte-compile cmake-mode.el
 
 do-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
-       ${INSTALL_DATA} ${WRKSRC}/cmake-mode.* ${DESTDIR}${EMACS_LISPPREFIX}
+       ${INSTALL_DATA} ${WRKSRC}/Auxiliary/cmake-mode.* ${DESTDIR}${EMACS_LISPPREFIX}
 
 .include "../../editors/emacs/modules.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r cc425d1d5f19 -r b3d0c39d6d35 devel/cmake-mode/distinfo
--- a/devel/cmake-mode/distinfo Wed Aug 17 13:08:09 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:14:25 nia Exp $
-
-BLAKE2s (cmake-mode-20080606/cmake-mode.el) = 07032532a75bf1e06de5273c0dff2f3c5a0a934ea1320a0d679a3193760d8d49
-SHA512 (cmake-mode-20080606/cmake-mode.el) = cf9a828b941a702e176ee96bf3adece8a8a5bb591dcccaf90fb798088f08a9072ebde86abb111a755852a0e51fc1bc7979d1cf94ea2749b43c4ed0cd74c2bbc2
-Size (cmake-mode-20080606/cmake-mode.el) = 7798 bytes



Home | Main Index | Thread Index | Old Index