summaryrefslogtreecommitdiff
path: root/devel/elib/Makefile
blob: d393f5e0a950271d7d487e967757aa0bb68eb4c8 (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
# $NetBSD: Makefile,v 1.13 2005/08/28 04:25:28 uebayasi Exp $
#

DISTNAME=	elib-1.0
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION?=	2
CATEGORIES=	devel
MASTER_SITES=	http://jde.sunsite.dk/

MAINTAINER=	cjones@NetBSD.org
COMMENT=	Library of utility functions for Emacs

CONFLICTS+=	emacs20-elib-[0-9]*

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

BUILD_ENV+=	EMACS=${EMACS_FLAVOR}

MAKEFLAGS+=	EMACS=${EMACS_FLAVOR}

NO_CONFIGURE=	# set
USE_TOOLS+=	gmake

USE_MAKEINFO=	YES
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} ${EMACS_LISPPREFIX}/elib
	cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} 	\
			${EMACS_LISPPREFIX}/elib
	cd ${WRKSRC} && ${INSTALL_DATA} elib.info* ${PREFIX}/info

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