pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel devel/zig-mode: Add zig-mode 0.0.20220105



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65acc527d679
branches:  trunk
changeset: 376908:65acc527d679
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Thu Apr 14 13:51:45 2022 +0000

description:
devel/zig-mode: Add zig-mode 0.0.20220105

Syntax highlighting and automatic indentation for the Zig programming
language in Emacs.

diffstat:

 devel/Makefile          |   3 ++-
 devel/zig-mode/DESCR    |   2 ++
 devel/zig-mode/MESSAGE  |   9 +++++++++
 devel/zig-mode/Makefile |  25 +++++++++++++++++++++++++
 devel/zig-mode/PLIST    |   3 +++
 devel/zig-mode/distinfo |   5 +++++
 6 files changed, 46 insertions(+), 1 deletions(-)

diffs (81 lines):

diff -r a48727ceab2b -r 65acc527d679 devel/Makefile
--- a/devel/Makefile    Thu Apr 14 13:20:42 2022 +0000
+++ b/devel/Makefile    Thu Apr 14 13:51:45 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3711 2022/04/09 09:24:56 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3712 2022/04/14 13:51:45 nikita Exp $
 #
 
 COMMENT=       Development utilities
@@ -3297,6 +3297,7 @@
 SUBDIR+=       yasm
 SUBDIR+=       z80-asm
 SUBDIR+=       zeal
+SUBDIR+=       zig-mode
 SUBDIR+=       zlib
 SUBDIR+=       zookeeper
 SUBDIR+=       zzuf
diff -r a48727ceab2b -r 65acc527d679 devel/zig-mode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/zig-mode/DESCR      Thu Apr 14 13:51:45 2022 +0000
@@ -0,0 +1,2 @@
+Syntax highlighting and automatic indentation for the Zig programming
+language in Emacs.
diff -r a48727ceab2b -r 65acc527d679 devel/zig-mode/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/zig-mode/MESSAGE    Thu Apr 14 13:51:45 2022 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2022/04/14 13:51:45 nikita Exp $
+
+To use the Emacs zig mode add the following to your .emacs file:
+
+   (autoload 'zig-mode "zig-mode" nil t)
+   (add-to-list 'auto-mode-alist '("\\.zig\\'" . zig-mode))
+
+===========================================================================
diff -r a48727ceab2b -r 65acc527d679 devel/zig-mode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/zig-mode/Makefile   Thu Apr 14 13:51:45 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/04/14 13:51:45 nikita Exp $
+
+DISTNAME=      zig-mode-0.0.20220105
+PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ziglang/}
+GITHUB_TAG=    aa20d630b8c413dab8d6bd120ec3ed5db5c9da70
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ziglang/zig-mode/
+COMMENT=       Zig programming language mode for Emacs
+LICENSE=       gnu-gpl-v3
+
+NO_CONFIGURE=          yes
+
+do-build:
+       cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile zig-mode.el
+
+do-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/zig-mode
+       ${INSTALL_DATA} ${WRKSRC}/zig-mode.e* \
+               ${DESTDIR}${EMACS_LISPPREFIX}/zig-mode
+
+.include "../../editors/emacs/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a48727ceab2b -r 65acc527d679 devel/zig-mode/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/zig-mode/PLIST      Thu Apr 14 13:51:45 2022 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/14 13:51:45 nikita Exp $
+${EMACS_LISPPREFIX}/zig-mode/zig-mode.el
+${EMACS_LISPPREFIX}/zig-mode/zig-mode.elc
diff -r a48727ceab2b -r 65acc527d679 devel/zig-mode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/zig-mode/distinfo   Thu Apr 14 13:51:45 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/14 13:51:45 nikita Exp $
+
+BLAKE2s (zig-mode-0.0.20220105-aa20d630b8c413dab8d6bd120ec3ed5db5c9da70.tar.gz) = 6640acd80f6ad1e141884f6ff84191f0d12f3197f50a1774d7d3a8feb69c46a1
+SHA512 (zig-mode-0.0.20220105-aa20d630b8c413dab8d6bd120ec3ed5db5c9da70.tar.gz) = 
f32b67cce74eea1c7ecd22c507f1d49cd501b5c8e506cb05648a023197847401d9b4935827c3c7eba5b2b5cb9aefc590341615b0a90a0abdaa73a17f401140ee
+Size (zig-mode-0.0.20220105-aa20d630b8c413dab8d6bd120ec3ed5db5c9da70.tar.gz) = 21558 bytes



Home | Main Index | Thread Index | Old Index