5b62763c63
one doesn't exist. From now on, we only add the listed PKG_SHELL to the /etc/shells file if it already exists. This fixes PR pkg/27162.
31 lines
891 B
Makefile
31 lines
891 B
Makefile
# $NetBSD: Makefile,v 1.21 2005/09/20 04:23:48 jlam Exp $
|
|
|
|
DISTNAME= esh-0.8
|
|
PKGREVISION= 1
|
|
CATEGORIES= shells
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Unix shell with Lisp-like syntax
|
|
|
|
INFO_FILES= esh.info
|
|
|
|
WRKSRC= ${WRKDIR}/esh
|
|
USE_PKGINSTALL= yes
|
|
PKG_SHELL= bin/esh
|
|
INSTALLATION_DIRS= bin info
|
|
|
|
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/bsd.pkg.mk"
|