diff options
author | obache <obache@pkgsrc.org> | 2011-03-18 10:55:20 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-18 10:55:20 +0000 |
commit | d254a35172a78542634c754b8e055ec0cd501b1a (patch) | |
tree | 23162630c6c93503ab8fa1e77c260dcef8875d9b /textproc | |
parent | 53eb1bad933dc932e7d33acb6a97480af5d27929 (diff) | |
download | pkgsrc-d254a35172a78542634c754b8e055ec0cd501b1a.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/emacs-muse/Makefile | 12 | ||||
-rw-r--r-- | textproc/emacs-muse/files/Makefile.defs | 6 |
2 files changed, 10 insertions, 8 deletions
diff --git a/textproc/emacs-muse/Makefile b/textproc/emacs-muse/Makefile index 69f1f90569d..2c2bb8e7a01 100644 --- a/textproc/emacs-muse/Makefile +++ b/textproc/emacs-muse/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2009/08/06 01:44:55 minskim Exp $ +# $NetBSD: Makefile,v 1.5 2011/03/18 10:55:20 obache Exp $ # DISTNAME= muse-3.11 @@ -12,6 +12,8 @@ HOMEPAGE= http://mwolson.org/projects/EmacsMuse.html COMMENT= Publishing environment for Emacs LICENSE= gnu-gpl-v3 +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= # none USE_TOOLS+= gmake makeinfo INFO_FILES= yes @@ -26,13 +28,13 @@ pre-build: post-install: ${INSTALL_DATA} ${WRKSRC}/etc/emacs-wiki-migration.txt \ - ${PREFIX}/share/doc/emacs-muse + ${DESTDIR}${PREFIX}/share/doc/emacs-muse ${INSTALL_DATA} ${WRKSRC}/etc/muse.rnc \ - ${PREFIX}/share/doc/emacs-muse + ${DESTDIR}${PREFIX}/share/doc/emacs-muse ${INSTALL_DATA} ${WRKSRC}/examples/QuickStart.muse \ - ${PREFIX}/share/examples/emacs-muse + ${DESTDIR}${PREFIX}/share/examples/emacs-muse ${INSTALL_DATA} ${WRKSRC}/examples/*.png \ - ${PREFIX}/share/examples/emacs-muse + ${DESTDIR}${PREFIX}/share/examples/emacs-muse .include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/emacs-muse/files/Makefile.defs b/textproc/emacs-muse/files/Makefile.defs index 52b7d604cf2..c642fb2522a 100644 --- a/textproc/emacs-muse/files/Makefile.defs +++ b/textproc/emacs-muse/files/Makefile.defs @@ -1,5 +1,5 @@ include Makefile.defs.default -EMACS= @EMACS@ -PREFIX= @PREFIX@ -ELISPDIR= @LISPDIR@/muse +EMACS= ${DESTDIR}@EMACS@ +PREFIX= ${DESTDIR}@PREFIX@ +ELISPDIR= ${DESTDIR}@LISPDIR@/muse |