pkgsrc/devel/php-mode/Makefile
uebayasi 34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00

26 lines
694 B
Makefile

# $NetBSD: Makefile,v 1.2 2008/10/11 09:31:55 uebayasi Exp $
#
DISTNAME= php-mode-1.4.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=php-mode/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/php-mode/
COMMENT= PHP editing mode for Emacs
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
do-build:
cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile php-mode.el
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/php-mode
${INSTALL_DATA} ${WRKSRC}/php-mode.e* \
${DESTDIR}${EMACS_LISPPREFIX}/php-mode
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"