pkgsrc/chat/zenicb/Makefile

41 lines
972 B
Makefile

# $NetBSD: Makefile,v 1.9 2003/01/10 14:26:38 wiz Exp $
DISTNAME= zenicb-19981202
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/emacs.mk"
# Works fine on XEmacs 21.1. XEmacs 21.5 is probably okay too.
EMACS_VERSIONS_ACCEPTED= emacs21 emacs20 xemacs211 xemacs215
.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"