diff options
author | jtb <jtb@pkgsrc.org> | 2000-12-08 21:22:14 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2000-12-08 21:22:14 +0000 |
commit | 6b6f704a49dbb03101d17cb0f0d9a45269d46bfb (patch) | |
tree | 1495aef1a6227a3f2dd46da5c28531d89251ea97 /shells/esh/Makefile | |
parent | 9b558e5497cc38178cc1f46da323fe3f371ac6c5 (diff) | |
download | pkgsrc-6b6f704a49dbb03101d17cb0f0d9a45269d46bfb.tar.gz |
Make sure ${PREFIX}/share/emacs/site-lisp directory exists or gets created.
Fixes problem in latest pkgsrc/i386 bulk build.
Diffstat (limited to 'shells/esh/Makefile')
-rw-r--r-- | shells/esh/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/shells/esh/Makefile b/shells/esh/Makefile index 5b3226883c5..18b13139eeb 100644 --- a/shells/esh/Makefile +++ b/shells/esh/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/11/02 21:51:58 tron Exp $ +# $NetBSD: Makefile,v 1.2 2000/12/08 21:22:14 jtb Exp $ # DISTNAME= esh-0.8 CATEGORIES= shells MASTER_SITES= http://esh.netpedia.net/ -MAINTAINER= jasontd@indigo.ie +MAINTAINER= jtb@netbsd.org HOMEPAGE= http://esh.netpedia.net WRKSRC= ${WRKDIR}/esh @@ -14,16 +14,14 @@ INFO_FILES= esh.info do-install: ${INSTALL_PROGRAM} ${WRKSRC}/esh ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/esh - @(cd ${WRKSRC}/examples ; \ - for i in *.esh ; do \ - ${CP} $$i ${PREFIX}/share/examples/esh; \ - done) - ${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el \ - ${PREFIX}/share/emacs/site-lisp + ${INSTALL_DATA} ${WRKSRC}/examples/*.esh ${PREFIX}/share/examples/esh +.if !exists(${PREFIX}/share/emacs/site-lisp) + ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp +.endif + ${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info ${MKDIR} ${PREFIX}/share/doc/esh - @(for i in esh.html esh_toc.html; do \ - ${INSTALL_DATA} ${WRKSRC}/doc/$$i ${PREFIX}/share/doc/esh/$$i; \ - done) + @for i in esh.html esh_toc.html ; do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$$i ${PREFIX}/share/doc/esh/$$i; done .include "../../mk/bsd.pkg.mk" |