9a786011ff
etcutils to update /etc/shells.
32 lines
976 B
Makefile
32 lines
976 B
Makefile
# $NetBSD: Makefile,v 1.27 2010/05/07 12:02:44 jmmv Exp $
|
|
|
|
DISTNAME= esh-0.8
|
|
PKGREVISION= 3
|
|
CATEGORIES= shells
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Unix shell with Lisp-like syntax
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/esh
|
|
PKG_SHELL= bin/esh
|
|
INFO_FILES= # PLIST
|
|
INSTALLATION_DIRS= bin ${PKGINFODIR} share/doc/esh share/examples/esh \
|
|
share/emacs/site-lisp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/esh ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.esh \
|
|
${DESTDIR}${PREFIX}/share/examples/esh
|
|
${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el \
|
|
${DESTDIR}${PREFIX}/share/emacs/site-lisp
|
|
cd ${WRKSRC}/doc; for f in *.info *.info-[0-9]*; do \
|
|
${TEST} ! -f "$$f" || \
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \
|
|
done
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} esh.html esh_toc.html \
|
|
${DESTDIR}${PREFIX}/share/doc/esh/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|