aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-10-16 15:03:31 +0800
committertaoka <taoka@FreeBSD.org>1999-10-16 15:03:31 +0800
commit04841a29c4170d8c6e19a078302452cb059be274 (patch)
treeac946806fa3290ca7e578ae9b789220bfd976384
parentfa4f0694ac02a22c34ed995a61f4b673cec12bdf (diff)
downloadfreebsd-ports-gnome-04841a29c4170d8c6e19a078302452cb059be274.tar.gz
freebsd-ports-gnome-04841a29c4170d8c6e19a078302452cb059be274.tar.zst
freebsd-ports-gnome-04841a29c4170d8c6e19a078302452cb059be274.zip
A mode of Emacs for editing MagicPoint files
-rw-r--r--misc/mgp-mode.el/Makefile34
-rw-r--r--misc/mgp-mode.el/distinfo1
-rw-r--r--misc/mgp-mode.el/pkg-comment1
-rw-r--r--misc/mgp-mode.el/pkg-descr10
-rw-r--r--misc/mgp-mode.el/pkg-plist2
5 files changed, 48 insertions, 0 deletions
diff --git a/misc/mgp-mode.el/Makefile b/misc/mgp-mode.el/Makefile
new file mode 100644
index 000000000000..a01e46b5fbae
--- /dev/null
+++ b/misc/mgp-mode.el/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: mgp-mode.el
+# Version required: 1.22
+# Date created: 99/10/6
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= mgp-mode.el
+PKGNAME= mgp-mode.el-1.22
+CATEGORIES= misc elisp
+MASTER_SITES= ftp://TypeHack.aial.hiroshima-u.ac.jp/pub/Emacs/MagicPoint/
+EXTRACT_SUFX= # empty
+
+MAINTAINER= taoka@FreeBSD.org
+
+RUN_DEPENDS= mgp:${PORTSDIR}/misc/magicpoint
+
+EXTRACT_ONLY= # empty
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}
+
+ELISPDIR= ${PREFIX}/share/emacs/site-lisp
+XELISPDIR= ${PREFIX}/lib/xemacs/site-lisp
+
+do-install:
+ ${MKDIR} ${ELISPDIR}
+ ${INSTALL_DATA} ${_DISTDIR}/${DISTFILES} ${ELISPDIR}
+# For XEmacs
+ ${MKDIR} ${XELISPDIR}
+ ${LN} -sf ${ELISPDIR}/${DISTFILES} ${XELISPDIR}
+
+.include <bsd.port.mk>
diff --git a/misc/mgp-mode.el/distinfo b/misc/mgp-mode.el/distinfo
new file mode 100644
index 000000000000..934d305afa68
--- /dev/null
+++ b/misc/mgp-mode.el/distinfo
@@ -0,0 +1 @@
+MD5 (mgp-mode.el) = d3e374b9c1925778666fb7082aa31cee
diff --git a/misc/mgp-mode.el/pkg-comment b/misc/mgp-mode.el/pkg-comment
new file mode 100644
index 000000000000..fbd6a3000035
--- /dev/null
+++ b/misc/mgp-mode.el/pkg-comment
@@ -0,0 +1 @@
+A mode of Emacs for editing MagicPoint files
diff --git a/misc/mgp-mode.el/pkg-descr b/misc/mgp-mode.el/pkg-descr
new file mode 100644
index 000000000000..eafccb535af9
--- /dev/null
+++ b/misc/mgp-mode.el/pkg-descr
@@ -0,0 +1,10 @@
+mgp-mode.el is a mode of Emacs for editing MagicPoint files.
+
+Put the expression below into your ~/.emacs. (for example)
+
+ (setq auto-mode-alist
+ (cons '("\\.mgp?\\'" . mgp-mode)
+ auto-mode-alist))
+ (autoload 'mgp-mode "mgp-mode")
+ (setq mgp-options "-g 800x600")
+ (setq mgp-window-height 6)
diff --git a/misc/mgp-mode.el/pkg-plist b/misc/mgp-mode.el/pkg-plist
new file mode 100644
index 000000000000..d430991a669e
--- /dev/null
+++ b/misc/mgp-mode.el/pkg-plist
@@ -0,0 +1,2 @@
+share/emacs/site-lisp/mgp-mode.el
+lib/xemacs/site-lisp/mgp-mode.el