summaryrefslogtreecommitdiff
path: root/mail/elm-me/Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-04-15 08:13:34 +0000
committerdholland <dholland@pkgsrc.org>2010-04-15 08:13:34 +0000
commit43a7fa99964305fe61b49eab2b196283c8648d59 (patch)
tree01e7c647b10a5d4e96c503498df441d4401d3d9b /mail/elm-me/Makefile
parent12d897ea176f5af26edd227de30f658f94d363a7 (diff)
downloadpkgsrc-43a7fa99964305fe61b49eab2b196283c8648d59.tar.gz
DESTDIR support.
Diffstat (limited to 'mail/elm-me/Makefile')
-rw-r--r--mail/elm-me/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/elm-me/Makefile b/mail/elm-me/Makefile
index a19eced8682..62b9eab624f 100644
--- a/mail/elm-me/Makefile
+++ b/mail/elm-me/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2009/06/30 00:07:19 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2010/04/15 08:13:34 dholland Exp $
DISTNAME= elm-2.4ME+93
PKGNAME= elm-me-2.4.93
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.instinct.org/elm/
COMMENT= ELM Mail User Agent with ME extensions
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
CONFLICTS= elm-[0-9]*
@@ -35,6 +37,10 @@ SUBST_MESSAGE.errno= Fixing declaration of errno.
SUBST_FILES.errno= */*.c
SUBST_SED.errno= -e 's,^extern int errno;,\#include <errno.h>,'
+# currently not set in files/config.sh
+# (should probably be a package option)
+#SPECIAL_PERMS+= bin/elm ${ROOT_USER} mail 2755
+
pre-configure:
${CP} ${FILESDIR}/config.sh ${WRKSRC}/
${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl
@@ -42,7 +48,7 @@ pre-configure:
post-install:
${INSTALL_DATA} ${FILESDIR}/elm.mimetypes \
- ${PREFIX}/lib/elm.mimetypes-dist
+ ${DESTDIR}${PREFIX}/lib/elm.mimetypes-dist
post-configure:
${TOUCH} ${WRKSRC}/config.sh