Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 10:30:41 +0200 (CEST)
From:      Dario Freni <saturnero@gufi.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87243: New port: lang/python-mode.el emacs lisp module for the Python language
Message-ID:  <20051011083041.E2B3F5814@jail1-fbsd4.consiagnet.it>
Resent-Message-ID: <200510110830.j9B8UEZi056269@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87243
>Category:       ports
>Synopsis:       New port: lang/python-mode.el emacs lisp module for the Python language
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 11 08:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dario Freni
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD cvs.freesbie.org 4.10-STABLE FreeBSD 4.10-STABLE #9: Wed Oct 20 06:25:06 CEST 2004 gmarco@host0-bsd.consiagnet.it:/usr/obj/usr/src/sys/FREEBSD i386


	
>Description:

	Elisp modules for the Python language.
	This port is structurally quite similar to lang/php-mode.el

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	python-mode.el
#	python-mode.el/Makefile
#	python-mode.el/distinfo
#	python-mode.el/pkg-descr
#	python-mode.el/pkg-message
#	python-mode.el/pkg-plist
#
echo c - python-mode.el
mkdir -p python-mode.el > /dev/null 2>&1
echo x - python-mode.el/Makefile
sed 's/^X//' >python-mode.el/Makefile << 'END-of-python-mode.el/Makefile'
X# New ports collection makefile for:	python-mode.el
X# Date created:				11 October 2005
X# Whom:					Dario Freni <saturnero@gufi.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	python-mode.el
XPORTVERSION=	1.0.a
XCATEGORIES=	lang elisp
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=python-mode
XDISTNAME=	python-mode-${PORTVERSION}
X
XMAINTAINER=	saturnero@gufi.org
XCOMMENT=	Emacs lisp module for the Python language
X
XNO_BUILD=	yes
X
XEMACSLISPDIR=	${PREFIX}/share/emacs/site-lisp
XXEMACSLISPDIR=	${PREFIX}/lib/xemacs/site-lisp
X
XLISPFILES=	python-mode.el pycomplete.el
X
Xdo-install:
X	${MKDIR} ${EMACSLISPDIR}
X	${MKDIR} ${XEMACSLISPDIR}
X	for i in ${LISPFILES}; do \
X		${INSTALL_DATA} ${WRKSRC}/$${i} ${EMACSLISPDIR}/$${i}; \
X		${LN} -sf ${EMACSLISPDIR}/$${i} ${XEMACSLISPDIR}; \
X	done;
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-python-mode.el/Makefile
echo x - python-mode.el/distinfo
sed 's/^X//' >python-mode.el/distinfo << 'END-of-python-mode.el/distinfo'
XMD5 (python-mode-1.0alpha.tar.gz) = 41adbb7bc4079d9aac3323e962c1e542
XSIZE (python-mode-1.0alpha.tar.gz) = 53666
END-of-python-mode.el/distinfo
echo x - python-mode.el/pkg-descr
sed 's/^X//' >python-mode.el/pkg-descr << 'END-of-python-mode.el/pkg-descr'
XEmacs lisp modules for the Python language.
X
XWWW: http://python-mode.sourceforge.net/
END-of-python-mode.el/pkg-descr
echo x - python-mode.el/pkg-message
sed 's/^X//' >python-mode.el/pkg-message << 'END-of-python-mode.el/pkg-message'
XTo use python-mode in Emacs/XEmacs, add the following lines to your ~/.emacs:
X
X(autoload 'python-mode "python-mode" "Mode for editing Python source files")
X(add-to-list 'auto-mode-alist '("\\.py" . python-mode))
END-of-python-mode.el/pkg-message
echo x - python-mode.el/pkg-plist
sed 's/^X//' >python-mode.el/pkg-plist << 'END-of-python-mode.el/pkg-plist'
Xshare/emacs/site-lisp/python-mode.el
Xshare/emacs/site-lisp/pycomplete.el
X@exec mkdir -p %D/lib/xemacs/site-lisp
X@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/python-mode.el
X@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/pycomplete.el
X@unexec rm %D/lib/xemacs/site-lisp/python-mode.el 2>/dev/null || true
X@unexec rm %D/lib/xemacs/site-lisp/pycomplete.el 2>/dev/null || true
X@unexec rmdir %D/lib/xemacs/site-lisp 2>/dev/null || true
X@unexec rmdir %D/lib/xemacs 2>/dev/null || true
END-of-python-mode.el/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051011083041.E2B3F5814>