pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cmake-mode



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Aug 17 13:28:10 UTC 2022

Modified Files:
        pkgsrc/devel/cmake-mode: Makefile
Removed Files:
        pkgsrc/devel/cmake-mode: distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/cmake-mode/Makefile
cvs rdiff -u -r1.5 -r0 pkgsrc/devel/cmake-mode/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cmake-mode/Makefile
diff -u pkgsrc/devel/cmake-mode/Makefile:1.8 pkgsrc/devel/cmake-mode/Makefile:1.9
--- pkgsrc/devel/cmake-mode/Makefile:1.8        Sat May 14 22:25:33 2022
+++ pkgsrc/devel/cmake-mode/Makefile    Wed Aug 17 13:28:10 2022
@@ -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"



Home | Main Index | Thread Index | Old Index