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 | b887f5681b4a4a2ce89af874eb1f9c822306ac8d (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /chat/zenirc/Makefile | |
parent | 5382ccf1d8130e9becd9b52c424e302b2acaf056 (diff) | |
download | pkgsrc-b887f5681b4a4a2ce89af874eb1f9c822306ac8d.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" |