summaryrefslogtreecommitdiff
path: root/mail/mailcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mailcrypt/Makefile')
-rw-r--r--mail/mailcrypt/Makefile10
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"