diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
commit | 34004f51e031966e3fbd210678c5083e196bf3e6 (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /chat/zenirc/Makefile | |
parent | 6bcc8c586e8d598300da44f38c8ec67a571ea234 (diff) | |
download | pkgsrc-34004f51e031966e3fbd210678c5083e196bf3e6.tar.gz |
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.
Diffstat (limited to 'chat/zenirc/Makefile')
-rw-r--r-- | chat/zenirc/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chat/zenirc/Makefile b/chat/zenirc/Makefile index 5e9def1e28b..9a2194705aa 100644 --- a/chat/zenirc/Makefile +++ b/chat/zenirc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/02/05 23:08:26 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2008/10/11 09:31:54 uebayasi Exp $ # DISTNAME= zenirc-2.112 @@ -11,14 +11,16 @@ MAINTAINER= thorpej@NetBSD.org HOMEPAGE= http://www.splode.com/~friedman/software/emacs-lisp/zenirc/ COMMENT= IRC client for Emacs +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES CONFIGURE_HAS_MANDIR= NO -.include "../../mk/emacs.mk" +.include "../../editors/emacs/modules.mk" .if ${EMACS_FLAVOR} == "xemacs" MAKE_FLAGS+= EMACS=xemacs .endif -MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/zenirc +MAKE_FLAGS+= elispdir=${DESTDIR:Q}${EMACS_LISPPREFIX:Q}/zenirc .include "../../mk/bsd.pkg.mk" |