diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
commit | 34004f51e031966e3fbd210678c5083e196bf3e6 (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /mail/wl | |
parent | 6bcc8c586e8d598300da44f38c8ec67a571ea234 (diff) | |
download | pkgsrc-34004f51e031966e3fbd210678c5083e196bf3e6.tar.gz |
Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users. Be DEPENDS to it. This should
address pkg/37146 by Aleksey Cheusov.
While here convert some emacs lisp packages to user-destdir.
Diffstat (limited to 'mail/wl')
-rw-r--r-- | mail/wl/Makefile | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/mail/wl/Makefile b/mail/wl/Makefile index 2b8163306d2..15d9274ef95 100644 --- a/mail/wl/Makefile +++ b/mail/wl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2008/01/18 05:08:31 tnn Exp $ +# $NetBSD: Makefile,v 1.38 2008/10/11 09:31:57 uebayasi Exp $ DISTNAME= wl-2.14.0 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} @@ -10,32 +10,32 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org HOMEPAGE= http://www.gohome.org/wl/ COMMENT= Mail/news management system with IMAP4rev1 support for Emacs +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= all info INSTALL_TARGET= install install-info -MAKE_FLAGS+= INFODIR=${EMACS_INFOPREFIX:Q} -MAKE_FLAGS+= LISPDIR=${EMACS_LISPPREFIX:Q} +MAKE_FLAGS+= INFODIR=${DESTDIR:Q}${EMACS_INFOPREFIX:Q} +MAKE_FLAGS+= LISPDIR=${DESTDIR:Q}${EMACS_LISPPREFIX:Q} MAKE_FLAGS+= EMACS=${EMACS_FLAVOR:Q} -MAKE_FLAGS+= PIXMAPDIR=${PREFIX:Q}/share/wl +MAKE_FLAGS+= PIXMAPDIR=${DESTDIR:Q}${PREFIX:Q}/share/wl INFO_FILES= # PLIST DOCDIR= ${PREFIX}/share/doc/wl EXAMPLESDIR= ${PREFIX}/share/examples/wl -INSTALLATION_DIRS= ${DOCDIR} ${EXAMPLESDIR} ${EMACS_INFOPREFIX} +INSTALLATION_DIRS= ${DOCDIR}/en ${DOCDIR}/ja \ + ${EXAMPLESDIR}/en ${EXAMPLESDIR}/ja \ + ${EMACS_INFOPREFIX} post-install: - ${INSTALL_DATA_DIR} ${DOCDIR:Q}/en - ${INSTALL_DATA_DIR} ${DOCDIR:Q}/ja @set -e; \ for f in BUGS NEWS README; do \ - ${INSTALL_DATA} ${WRKSRC:Q}/"$$f" ${DOCDIR:Q}/en; \ - ${INSTALL_DATA} ${WRKSRC:Q}/"$$f".ja ${DOCDIR:Q}/ja; \ + ${INSTALL_DATA} ${WRKSRC:Q}/"$$f" ${DESTDIR:Q}${DOCDIR:Q}/en; \ + ${INSTALL_DATA} ${WRKSRC:Q}/"$$f".ja ${DESTDIR:Q}${DOCDIR:Q}/ja; \ done - ${INSTALL_DATA_DIR} ${EXAMPLESDIR:Q}/en - ${INSTALL_DATA_DIR} ${EXAMPLESDIR:Q}/ja - ${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${EXAMPLESDIR:Q}/en - ${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${EXAMPLESDIR:Q}/ja + ${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${DESTDIR:Q}${EXAMPLESDIR:Q}/en + ${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${DESTDIR:Q}${EXAMPLESDIR:Q}/ja -.include "../../mk/emacs.mk" +.include "../../editors/emacs/modules.mk" .include "options.mk" |