37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2006/10/04 21:36:00 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= python-mode-4.54
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-mode/}
|
|
DISTFILES= python-mode.el
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/project/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}
|
|
DIST_SUBDIR= python-mode-20041204
|
|
|
|
.include "../../mk/emacs.mk"
|
|
|
|
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:S/^${PREFIX}\///}
|
|
|
|
do-extract:
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/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"
|