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

This commit is contained in:
tnn 2022-08-17 13:28:10 +00:00
parent 21393952f5
commit 8ed5b9b679
2 changed files with 5 additions and 18 deletions

View file

@ -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
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"

View file

@ -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