pkgsrc/devel/cflow-mode/Makefile

28 lines
741 B
Makefile

# $NetBSD: Makefile,v 1.6 2009/08/06 01:44:47 minskim Exp $
DISTNAME= cflow-1.1
PKGNAME= cflow-mode-1.1
PKGREVISION= 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"