aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-01-12 17:44:37 +0800
committerstas <stas@FreeBSD.org>2009-01-12 17:44:37 +0800
commit915b9ce3d6709306fc78855d5c9a46b44b7963d5 (patch)
tree53629bf1973e73b3c85602dce2f3c0a0385a1238 /cad
parent486b0098bf4fa2ed989fd10b02ddb2bb26525ad6 (diff)
downloadfreebsd-ports-gnome-915b9ce3d6709306fc78855d5c9a46b44b7963d5.tar.gz
freebsd-ports-gnome-915b9ce3d6709306fc78855d5c9a46b44b7963d5.tar.zst
freebsd-ports-gnome-915b9ce3d6709306fc78855d5c9a46b44b7963d5.zip
- Add port for verilog-mode.el, Emacs Verilog editing mode.
WWW: http://www.veripool.org/wiki/verilog-mode
Diffstat (limited to 'cad')
-rw-r--r--cad/Makefile1
-rw-r--r--cad/verilog-mode.el/Makefile33
-rw-r--r--cad/verilog-mode.el/distinfo3
-rw-r--r--cad/verilog-mode.el/pkg-descr10
-rw-r--r--cad/verilog-mode.el/pkg-message7
-rw-r--r--cad/verilog-mode.el/pkg-plist5
6 files changed, 59 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index 4d3739b15038..767c85da2c1e 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -82,6 +82,7 @@
SUBDIR += tochnog
SUBDIR += transcalc
SUBDIR += varkon
+ SUBDIR += verilog-mode.el
SUBDIR += vipec
SUBDIR += xcircuit
SUBDIR += z88
diff --git a/cad/verilog-mode.el/Makefile b/cad/verilog-mode.el/Makefile
new file mode 100644
index 000000000000..c3881fae6e3b
--- /dev/null
+++ b/cad/verilog-mode.el/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: verilog-mode.el
+# Date created: 12 January 2009
+# Whom: stas
+#
+# $FreeBSD$
+#
+
+PORTNAME= verilog-mode.el
+PORTVERSION= 465
+CATEGORIES= cad elisp
+MASTER_SITES= http://www.veripool.org/ftp/
+DISTNAME= verilog-mode-${PORTVERSION}.el
+EXTRACT_SUFX= .gz
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= Emacs lisp modules for the Verilog language
+
+NO_BUILD= yes
+EXTRACT_AFTER_ARGS= > ${ELFILE}
+
+ELFILE= verilog-mode.el
+EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
+XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
+
+do-install:
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKDIR}/${ELFILE} ${DATADIR}/
+ ${MKDIR} ${XEMACSLISPDIR}
+ ${LN} -sf ${DATADIR}/${ELFILE} ${EMACSLISPDIR}/
+ ${LN} -sf ${DATADIR}/${ELFILE} ${XEMACSLISPDIR}/
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/cad/verilog-mode.el/distinfo b/cad/verilog-mode.el/distinfo
new file mode 100644
index 000000000000..53b0e32d3175
--- /dev/null
+++ b/cad/verilog-mode.el/distinfo
@@ -0,0 +1,3 @@
+MD5 (verilog-mode-465.el.gz) = 0fc282f30f3b9d3b5c7687a8db3b9cd8
+SHA256 (verilog-mode-465.el.gz) = 5800e9e451753a1e253f094fb2f778948d298a6da4b07c2e30d4f8efe78c7765
+SIZE (verilog-mode-465.el.gz) = 91867
diff --git a/cad/verilog-mode.el/pkg-descr b/cad/verilog-mode.el/pkg-descr
new file mode 100644
index 000000000000..49316f00dda8
--- /dev/null
+++ b/cad/verilog-mode.el/pkg-descr
@@ -0,0 +1,10 @@
+Verilog-mode.el is a Verilog mode for Emacs which provides context-sensitive
+highlighting, auto indenting, and provides macro expansion capabilities to
+greatly reduce Verilog coding time.
+
+Recent versions allow you to insert AUTOS in non-AUTO designs, so IP interconnect
+can be easily modified. You can also expand Verilog-2001 ".*" instantiations, to
+see what ports will be connected by simulators.
+
+Author: Michael McNamara <mac@verilog.com>, Wilson Snyder <wsnyder@wsnyder.org>
+WWW: http://www.veripool.org/wiki/verilog-mode
diff --git a/cad/verilog-mode.el/pkg-message b/cad/verilog-mode.el/pkg-message
new file mode 100644
index 000000000000..15b41e4469ee
--- /dev/null
+++ b/cad/verilog-mode.el/pkg-message
@@ -0,0 +1,7 @@
+====
+To use verilog-mode features in Emacs/XEmacs, add the
+following lines to your Emacs configuration file (usually ~/.emacs):
+
+(autoload 'verilog-mode "verilog-mode" "Verilog mode" t )
+(add-to-list 'auto-mode-alist '("\\.[ds]?v\\'" . verilog-mode))
+====
diff --git a/cad/verilog-mode.el/pkg-plist b/cad/verilog-mode.el/pkg-plist
new file mode 100644
index 000000000000..fad1b7387aee
--- /dev/null
+++ b/cad/verilog-mode.el/pkg-plist
@@ -0,0 +1,5 @@
+share/emacs/site-lisp/verilog-mode.el
+lib/xemacs/site-lisp/verilog-mode.el
+%%DATADIR%%/verilog-mode.el
+@dirrmtry lib/xemacs/site-lisp
+@dirrmtry lib/xemacs