summaryrefslogtreecommitdiff
path: root/shells/esh/Makefile
blob: 919068d8cb7b361f882faa81099f382770288715 (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
# $NetBSD: Makefile,v 1.13 2003/03/29 12:42:25 jmmv Exp $

DISTNAME=		esh-0.8
WRKSRC=			${WRKDIR}/esh
CATEGORIES=		shells
MASTER_SITES=		${MASTER_SITE_BACKUP}

MAINTAINER=		packages@netbsd.org
COMMENT=		Unix shell with Lisp-like syntax

INFO_FILES=		esh.info

USE_PKGINSTALL=		yes
PKG_SHELL=		${PREFIX}/bin/esh

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/esh ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/esh
	${INSTALL_DATA} ${WRKSRC}/examples/*.esh 			\
		${PREFIX}/share/examples/esh
	${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
	${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el 			\
		${PREFIX}/share/emacs/site-lisp
	${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/esh
	cd ${WRKSRC}/doc && ${INSTALL_DATA} esh.html esh_toc.html	\
		${PREFIX}/share/doc/esh/

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