summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-22 00:11:01 +0000
committerpho <pho@pkgsrc.org>2020-01-22 00:11:01 +0000
commitfd8cdf59c734efb3ad8a5b4e4567c7780dc39640 (patch)
tree2a7a07d9bbd6d3b94e55c1816e76a9ec8b25d658 /misc
parent02110794f6f97d51d8fc1fb9fbd99ae17e7300ce (diff)
downloadpkgsrc-fd8cdf59c734efb3ad8a5b4e4567c7780dc39640.tar.gz
Import mic-paren-3.13
mic-paren is an extension and replacement to the packages paren and stig-paren for Emacs. When mic-paren is active Emacs normal parenthesis matching is deactivated. Instead parenthesis matching will be performed as soon as the cursor is positioned at a parenthesis. The matching parenthesis (or the entire expression between the parentheses) is highlighted until the cursor is moved away from the parenthesis.
Diffstat (limited to 'misc')
-rw-r--r--misc/mic-paren/DESCR7
-rw-r--r--misc/mic-paren/MESSAGE9
-rw-r--r--misc/mic-paren/Makefile25
-rw-r--r--misc/mic-paren/PLIST3
-rw-r--r--misc/mic-paren/distinfo6
5 files changed, 50 insertions, 0 deletions
diff --git a/misc/mic-paren/DESCR b/misc/mic-paren/DESCR
new file mode 100644
index 00000000000..afd4adcb91f
--- /dev/null
+++ b/misc/mic-paren/DESCR
@@ -0,0 +1,7 @@
+mic-paren is an extension and replacement to the packages paren and
+stig-paren for Emacs. When mic-paren is active Emacs normal
+parenthesis matching is deactivated. Instead parenthesis matching will
+be performed as soon as the cursor is positioned at a parenthesis. The
+matching parenthesis (or the entire expression between the
+parentheses) is highlighted until the cursor is moved away from the
+parenthesis.
diff --git a/misc/mic-paren/MESSAGE b/misc/mic-paren/MESSAGE
new file mode 100644
index 00000000000..78f6502b98e
--- /dev/null
+++ b/misc/mic-paren/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2020/01/22 00:11:01 pho Exp $
+
+Add the following lines to your .emacs file:
+
+ (require 'mic-paren)
+ (paren-activate)
+
+===========================================================================
diff --git a/misc/mic-paren/Makefile b/misc/mic-paren/Makefile
new file mode 100644
index 00000000000..f7a12938b4f
--- /dev/null
+++ b/misc/mic-paren/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/01/22 00:11:01 pho Exp $
+
+DISTNAME= mic-paren-3.13
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=emacsattic/}
+GITHUB_TAG= d0410c7d805c9aaf51a1bcefaaef092bed5824c4
+
+MAINTAINER= pho@cielonegro.org
+HOMEPAGE= https://melpa.org/\#/mic-paren
+COMMENT= Advanced highlighting of parenthesis
+LICENSE= gnu-gpl-v3
+
+EMACS_MODULES= base
+EMACS_BUILDLINK= yes
+
+do-build:
+ cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile *.el
+
+INSTALLATION_DIRS+= ${EMACS_LISPPREFIX}
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/*.el ${DESTDIR}${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKSRC}/*.elc ${DESTDIR}${EMACS_LISPPREFIX}
+
+.include "../../editors/emacs/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/mic-paren/PLIST b/misc/mic-paren/PLIST
new file mode 100644
index 00000000000..60270a33bcc
--- /dev/null
+++ b/misc/mic-paren/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/22 00:11:01 pho Exp $
+${EMACS_LISPPREFIX}/mic-paren.el
+${EMACS_LISPPREFIX}/mic-paren.elc
diff --git a/misc/mic-paren/distinfo b/misc/mic-paren/distinfo
new file mode 100644
index 00000000000..293e04fd43d
--- /dev/null
+++ b/misc/mic-paren/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/22 00:11:01 pho Exp $
+
+SHA1 (mic-paren-3.13-d0410c7d805c9aaf51a1bcefaaef092bed5824c4.tar.gz) = 96b405e62f29c7e1f5ebe317b43a4c93b3ab58d4
+RMD160 (mic-paren-3.13-d0410c7d805c9aaf51a1bcefaaef092bed5824c4.tar.gz) = b43c189b8b566d3975d5850aadc93d6e698ba215
+SHA512 (mic-paren-3.13-d0410c7d805c9aaf51a1bcefaaef092bed5824c4.tar.gz) = 3c4bfc6f34fff247b5e928b0c351c924b4491c1fc5ca6a680e33790fe629b63685cf4d95d76a27e258a7e2c3c5318e0bc62935e034e0ddf8756040e4d092d394
+Size (mic-paren-3.13-d0410c7d805c9aaf51a1bcefaaef092bed5824c4.tar.gz) = 15154 bytes