blob: a2ee8e1c9ef68fadea2d9d6b6fa03c8c1a240662 (
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
42
|
# $NetBSD: Makefile,v 1.3 2002/02/18 15:14:09 seb Exp $
#
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)
DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
EMACS= xemacs
LISPDIR= lib/xemacs/xemacs-packages/lisp/elib
.else
DEPENDS+= emacs-[0-9]*:../../editors/emacs
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
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
|