summaryrefslogtreecommitdiff
path: root/chat/zenirc
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2008-10-11 09:31:54 +0000
committeruebayasi <uebayasi>2008-10-11 09:31:54 +0000
commitb96889b1354fc2db619e890c37d47726128607e1 (patch)
tree28f89f081daec07805c1f982f0bc63a420c005ba /chat/zenirc
parent82bb21f245fe7a2dee3f10a3aec11ffd03c27e07 (diff)
downloadpkgsrc-b96889b1354fc2db619e890c37d47726128607e1.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')
-rw-r--r--chat/zenirc/Makefile8
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"