[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / shells / esh

File: [cvs.NetBSD.org] / pkgsrc / shells / esh / Makefile (download)

Revision 1.28, Tue Sep 11 23:25:08 2012 UTC (11 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.27: +1 -3 lines

"user-destdir" is default these days

# $NetBSD: Makefile,v 1.28 2012/09/11 23:25:08 asau 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

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"