pkgsrc/devel/python-mode/Makefile

33 lines
901 B
Makefile

# $NetBSD: Makefile,v 1.8 2004/01/20 12:13:29 agc Exp $
#
DISTNAME= python-mode-4.6
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.python.org/emacs/python-mode/
DISTFILES= python-mode.el
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.python.org/emacs/python-mode/
COMMENT= Emacs mode for editing python files
# 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 emacs21nox emacs20
WRKSRC= ${WRKDIR}
.include "../../mk/emacs.mk"
do-extract:
${CP} ${DISTDIR}/python-mode.el ${WRKDIR}
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"