diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/elscreen | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/elscreen')
-rw-r--r-- | misc/elscreen/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/misc/elscreen/Makefile b/misc/elscreen/Makefile index 6e66ca14a8a..1cb0fe9cd2c 100644 --- a/misc/elscreen/Makefile +++ b/misc/elscreen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2008/01/04 05:54:57 obache Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 19:21:11 jlam Exp $ # DISTNAME= elscreen-1.4.5 @@ -20,13 +20,15 @@ MAINTAINER= uebayasi@NetBSD.org HOMEPAGE= http://www.morishima.net/~naoto/software/elscreen/ COMMENT= Window manager within Emacs +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes do-install: - @${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/elscreen - @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/elscreen - @${INSTALL_DATA} ${WRKDIR}/*/*.el ${EMACS_LISPPREFIX}/elscreen - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/elscreen + ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/elscreen + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/elscreen + ${INSTALL_DATA} ${WRKDIR}/*/*.el ${DESTDIR}${EMACS_LISPPREFIX}/elscreen + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/elscreen .include "../../mk/emacs.mk" |