pkgsrc/chat/zephyr-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

29 lines
757 B
Makefile

# $NetBSD: Makefile,v 1.15 2008/10/11 09:31:55 uebayasi Exp $
#
DISTNAME= zephyr-mode-2.5.20
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 2
CATEGORIES= chat net
MASTER_SITES= http://www.cs.cmu.edu/People/dkindred/zephyr-mode/
MAINTAINER= sommerfeld@NetBSD.org
HOMEPAGE= http://www.cs.cmu.edu/People/dkindred/zephyr/zephyr.html
COMMENT= CMU Emacs-based Zephyr client
DEPENDS+= tzc>=2.6.15:../../chat/tzc
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
.include "../../editors/emacs/modules.mk"
do-install:
@${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/zephyr-mode
@for f in ${WRKSRC}/elisp/*.el; do \
j="${INSTALL_DATA} $$f ${DESTDIR}${EMACS_LISPPREFIX}/zephyr-mode"; \
${ECHO} $$j; $$j; \
done
.include "../../mk/bsd.pkg.mk"