summaryrefslogtreecommitdiff
path: root/chat/zenicb/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2002-09-13 10:37:53 +0000
committeruebayasi <uebayasi>2002-09-13 10:37:53 +0000
commitc6f71b4ceae8472f4e31da13d16d9240bfe219cc (patch)
tree5ec739732eaea1ffeec4987c0b6bc82847526d3b /chat/zenicb/Makefile
parent100caa577ee9f2a98eaab1761676f39558cf9fbc (diff)
downloadpkgsrc-c6f71b4ceae8472f4e31da13d16d9240bfe219cc.tar.gz
Use mk/emacs.mk.
Diffstat (limited to 'chat/zenicb/Makefile')
-rw-r--r--chat/zenicb/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/chat/zenicb/Makefile b/chat/zenicb/Makefile
index b1fed252215..0fbb2b2cb22 100644
--- a/chat/zenicb/Makefile
+++ b/chat/zenicb/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2002/04/26 09:36:57 tron Exp $
+# $NetBSD: Makefile,v 1.6 2002/09/13 10:40:39 uebayasi Exp $
DISTNAME= zenicb-19981202
+PKGNAME= ${EMACS_PKGPREFIX}${DISTNAME}
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -9,22 +10,17 @@ COMMENT= ICB client for Emacs
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
-# XXX YUCK! I really don't like this, but what else are we going to do?
.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/emacs.mk"
+
.if defined(USE_XEMACS)
-EMACS= xemacs
-DEPENDS+= xemacs-[1-9]*:../../editors/xemacs
MAKEFLAGS+= USE_XEMACS=${USE_XEMACS}
-ELISPDIR= lib/xemacs/xemacs-packages/lisp
-
.include "../../editors/xemacs/Makefile.pkg"
.else
-EMACS= emacs
-DEPENDS+= emacs-[0-9]*:../../editors/emacs
-ELISPDIR= share/emacs/site-lisp
.endif
-PLIST_SUBST+= ELISPDIR=${ELISPDIR}
+#PLIST_SUBST+= ELISPDIR=${ELISPDIR}
pre-configure:
.if defined(USE_XEMACS)
@@ -36,11 +32,9 @@ pre-configure:
do-build:
do-install:
-.if defined(USE_XEMACS)
- @${INSTALL_DATA_DIR} ${PREFIX}/${ELISPDIR}
-.endif
+ @${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/zenicb
@for file in ${WRKSRC}/src/*.el; do \
- j="${INSTALL_DATA} $$file ${PREFIX}/${ELISPDIR}/"; \
+ j="${INSTALL_DATA} $$file ${EMACS_LISPPREFIX}/zenicb"; \
${ECHO} $$j; $$j; \
done