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/mailcrypt/Makefile | |
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/mailcrypt/Makefile')
-rw-r--r-- | mail/mailcrypt/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/mailcrypt/Makefile b/mail/mailcrypt/Makefile index 12c7a2d3701..9a698982617 100644 --- a/mail/mailcrypt/Makefile +++ b/mail/mailcrypt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/06/20 11:42:23 markd Exp $ +# $NetBSD: Makefile,v 1.15 2008/10/11 09:31:57 uebayasi Exp $ DISTNAME= mailcrypt-3.5.8 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} @@ -10,12 +10,16 @@ MAINTAINER= sommerfeld@NetBSD.org HOMEPAGE= http://mailcrypt.sourceforge.net/ COMMENT= Emacs frontend for PGP and GPG +PKG_DESTDIR_SUPPORT= user-destdir + # What we would like to say here is: "we want GNU emacs" EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox emacs20 GNU_CONFIGURE= yes -MAKE_FLAGS+= lispdir=${EMACS_LISPPREFIX:Q} +MAKE_FLAGS+= prefix=${DESTDIR:Q}${PREFIX:Q} \ + lispdir=${DESTDIR:Q}${EMACS_LISPPREFIX:Q} \ + infodir=${DESTDIR:Q}${PREFIX:Q}/info INFO_FILES= # PLIST -.include "../../mk/emacs.mk" +.include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk" |