summaryrefslogtreecommitdiff
path: root/shells/esh
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-12 00:21:17 +0000
committerjoerg <joerg>2010-02-12 00:21:17 +0000
commitb8136cd9db22b61b7d8716956fc90dd3a164548c (patch)
treee4123f8c4395eef438ed43df814720a578f93396 /shells/esh
parentec6f9b3fcb4f8a1a1aa3e6b6618ec2cb182ce54b (diff)
downloadpkgsrc-b8136cd9db22b61b7d8716956fc90dd3a164548c.tar.gz
DESTDIR support
Diffstat (limited to 'shells/esh')
-rw-r--r--shells/esh/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/shells/esh/Makefile b/shells/esh/Makefile
index 6a17369d13e..1b0d2bd4199 100644
--- a/shells/esh/Makefile
+++ b/shells/esh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/02/20 19:04:15 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2010/02/12 00:23:07 joerg Exp $
DISTNAME= esh-0.8
PKGREVISION= 2
@@ -8,25 +8,25 @@ 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}
+INSTALLATION_DIRS= bin ${PKGINFODIR} share/doc/esh share/examples/esh \
+ share/emacs/site-lisp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/esh ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/esh
+ ${INSTALL_PROGRAM} ${WRKSRC}/esh ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/examples/*.esh \
- ${PREFIX}/share/examples/esh
- ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
+ ${DESTDIR}${PREFIX}/share/examples/esh
${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el \
- ${PREFIX}/share/emacs/site-lisp
+ ${DESTDIR}${PREFIX}/share/emacs/site-lisp
cd ${WRKSRC}/doc; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
- ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/esh
cd ${WRKSRC}/doc && ${INSTALL_DATA} esh.html esh_toc.html \
- ${PREFIX}/share/doc/esh/
+ ${DESTDIR}${PREFIX}/share/doc/esh/
.include "../../mk/bsd.pkg.mk"