summaryrefslogtreecommitdiff
path: root/chat/zenicb/Makefile
blob: 0fbb2b2cb225e0825d5e66ca5d5296884e1c7844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $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}

MAINTAINER=		thorpej@netbsd.org
COMMENT=		ICB client for Emacs

NO_SRC_ON_FTP=		Already in MASTER_SITE_LOCAL

.include "../../mk/bsd.prefs.mk"

.include "../../mk/emacs.mk"

.if defined(USE_XEMACS)
MAKEFLAGS+=		USE_XEMACS=${USE_XEMACS}
.include "../../editors/xemacs/Makefile.pkg"
.else
.endif

#PLIST_SUBST+=		ELISPDIR=${ELISPDIR}

pre-configure:
.if defined(USE_XEMACS)
	@${ECHO} "You have chosen Xemacs configuration."
.else
	@${ECHO} "To install for Xemacs, set the environment variable USE_XEMACS."
.endif

do-build:

do-install:
	@${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/zenicb
	@for file in ${WRKSRC}/src/*.el; do \
		j="${INSTALL_DATA} $$file ${EMACS_LISPPREFIX}/zenicb"; \
		${ECHO} $$j; $$j; \
	done

.include "../../mk/bsd.pkg.mk"