2002-02-18 16:14:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2002/02/18 15:14:09 seb Exp $
|
2001-06-08 23:29:13 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= elib-1.0
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://jde.sunsite.dk/
|
|
|
|
|
|
|
|
MAINTAINER= cjones@netbsd.org
|
|
|
|
COMMENT= Library of utility functions for Emacs
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if defined(USE_XEMACS)
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
|
2001-06-08 23:29:13 +02:00
|
|
|
EMACS= xemacs
|
|
|
|
LISPDIR= lib/xemacs/xemacs-packages/lisp/elib
|
|
|
|
.else
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= emacs-[0-9]*:../../editors/emacs
|
2001-06-08 23:29:13 +02:00
|
|
|
EMACS= emacs
|
|
|
|
LISPDIR= share/emacs/site-lisp/elib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILD_ENV+= EMACS=${EMACS}
|
|
|
|
PLIST_SUBST+= LISPDIR=${LISPDIR}
|
|
|
|
|
|
|
|
NO_CONFIGURE= # set
|
|
|
|
USE_GMAKE= # set
|
|
|
|
|
|
|
|
INFO_FILES= elib.info
|
|
|
|
|
|
|
|
SRCS= stack-f.el stack-m.el queue-f.el queue-m.el elib-node.el \
|
|
|
|
bintree.el avltree.el string.el read.el cookie.el dll.el \
|
|
|
|
dll-debug.el
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
|
|
|
${PREFIX}/${LISPDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${INFO_FILES} ${PREFIX}/info
|
|
|
|
|
2002-02-18 16:14:00 +01:00
|
|
|
.include "../../mk/texinfo.mk"
|
2001-06-08 23:29:13 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|