ports/87314: New port: lang/python-mode.el emacs lisp module for the Python language
Dario Freni
saturnero at gufi.org
Wed Oct 12 11:10:09 UTC 2005
>Number: 87314
>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: Wed Oct 12 11:10:07 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 at host0-bsd.consiagnet.it:/usr/obj/usr/src/sys/FREEBSD i386
>Description:
Emacs lisp module for the Python l anguage
This PR corrects ports/87243 which has an incorrect DISTNAME.
>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/Makefile
# python-mode.el/distinfo
# python-mode.el/pkg-descr
# python-mode.el/pkg-message
# python-mode.el/pkg-plist
#
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 at 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-1.0alpha
X
XMAINTAINER= saturnero at 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 at exec mkdir -p %D/lib/xemacs/site-lisp
X at exec ln -sf %D/%F %D/lib/xemacs/site-lisp/python-mode.el
X at exec ln -sf %D/%F %D/lib/xemacs/site-lisp/pycomplete.el
X at unexec rm %D/lib/xemacs/site-lisp/python-mode.el 2>/dev/null || true
X at unexec rm %D/lib/xemacs/site-lisp/pycomplete.el 2>/dev/null || true
X at unexec rmdir %D/lib/xemacs/site-lisp 2>/dev/null || true
X at unexec rmdir %D/lib/xemacs 2>/dev/null || true
END-of-python-mode.el/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list