summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-10-25 20:02:39 +0000
committercjep <cjep@pkgsrc.org>2002-10-25 20:02:39 +0000
commit2083b3679c6de35123dbb4e15c500442e2f37087 (patch)
treed74fdceda80a5edbf34b875346c392def3ad721c /devel
parent46a8f26980576886a745839450cc3e881e019870 (diff)
downloadpkgsrc-2083b3679c6de35123dbb4e15c500442e2f37087.tar.gz
Initial import of python-mode 4.6 into the NetBSD packages collection
as devel/python-mode. This package provides an Emacs editing mode for Python code.
Diffstat (limited to 'devel')
-rw-r--r--devel/python-mode/DESCR1
-rw-r--r--devel/python-mode/MESSAGE9
-rw-r--r--devel/python-mode/Makefile32
-rw-r--r--devel/python-mode/PLIST3
-rw-r--r--devel/python-mode/distinfo4
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/python-mode/DESCR b/devel/python-mode/DESCR
new file mode 100644
index 00000000000..eab31bf4dc5
--- /dev/null
+++ b/devel/python-mode/DESCR
@@ -0,0 +1 @@
+An Emacs editing mode for Python scripts.
diff --git a/devel/python-mode/MESSAGE b/devel/python-mode/MESSAGE
new file mode 100644
index 00000000000..66e41d2b163
--- /dev/null
+++ b/devel/python-mode/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/10/25 20:02:39 cjep Exp $
+
+You will need to customize your .emacs.el (or default.el) file to
+autoload Python mode for Emacs. For example:
+
+(autoload 'python-mode "python-mode" "Mode for editing Python scripts" t)
+
+===========================================================================
diff --git a/devel/python-mode/Makefile b/devel/python-mode/Makefile
new file mode 100644
index 00000000000..cd42239c9e8
--- /dev/null
+++ b/devel/python-mode/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/25 20:02:39 cjep Exp $
+#
+
+DISTNAME= python-mode-4.6
+CATEGORIES= devel
+MASTER_SITES= http://www.python.org/emacs/python-mode/
+DISTFILES= python-mode.el
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.python.org/emacs/python-mode/
+COMMENT= Emacs mode for editing python files
+
+WRKSRC= ${WRKDIR}
+
+# Note that XEmacs >=21.4.4 includes a python-mode in the prog-modes
+# package. Also, python-mode does not appear to work as is with XEmacs 21.1
+EMACS_VERSIONS_ACCEPTED= emacs21 emacs20
+
+.include "../../mk/emacs.mk"
+
+do-extract:
+ ${CP} ${DISTDIR}/python-mode.el ${WRKDIR}; done
+
+do-build:
+ ${EMACS_BIN} --no-init-file -batch \
+ -f batch-byte-compile ${WRKDIR}/python-mode.el
+
+do-install:
+ ${INSTALL_DATA} ${WRKDIR}/python-mode.el ${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKDIR}/python-mode.elc ${EMACS_LISPPREFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/python-mode/PLIST b/devel/python-mode/PLIST
new file mode 100644
index 00000000000..307dca0ef0a
--- /dev/null
+++ b/devel/python-mode/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/25 20:02:39 cjep Exp $
+${EMACS_LISPPREFIX}/python-mode.el
+${EMACS_LISPPREFIX}/python-mode.elc
diff --git a/devel/python-mode/distinfo b/devel/python-mode/distinfo
new file mode 100644
index 00000000000..6d7a5d0d67b
--- /dev/null
+++ b/devel/python-mode/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/25 20:02:39 cjep Exp $
+
+SHA1 (python-mode.el) = 28162888271fed42f89586c63d95f9d755a9249c
+Size (python-mode.el) = 123488 bytes