pkgsrc/devel/cflow-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

27 lines
727 B
Makefile

# $NetBSD: Makefile,v 1.5 2008/10/11 09:31:55 uebayasi Exp $
DISTNAME= cflow-1.1
PKGNAME= cflow-mode-1.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=cflow/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/cflow/
COMMENT= Emacs mode for GNU cflow output
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../editors/emacs/modules.mk"
do-build:
${EMACS_BIN} --no-init-file -batch -f batch-byte-compile \
${WRKSRC}/elisp/cflow-mode.el
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.el \
${DESTDIR}${EMACS_LISPPREFIX}
${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.elc \
${DESTDIR}${EMACS_LISPPREFIX}
.include "../../mk/bsd.pkg.mk"