summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index e2afc711039..d36f8c13caa 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.71 2009/01/26 22:35:02 tonio Exp $
+# $NetBSD: Makefile,v 1.72 2009/01/27 19:50:33 tonio Exp $
DISTNAME= mutt-1.5.19
+PKGREVISION= 1
CATEGORIES= mail
MUTT_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
@@ -13,7 +14,7 @@ HOMEPAGE= http://www.mutt.org/
COMMENT= Text-based MIME mail client with PGP & S/MIME support
PKG_INSTALLATION_TYPES= overwrite pkgviews
-PKG_DESTDIR_SUPPORT= destdir # avoid user-destdir to handle mutt_dotlock
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
@@ -24,9 +25,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \
--with-docdir=${PREFIX}/share/doc/mutt \
--without-included-gettext \
+ --enable-external-dotlock \
--enable-pop \
--enable-imap
-MAKE_ENV+= CHGRP=${CHGRP:Q} CHMOD=${CHMOD:Q}
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
# Force sendmail to /usr/sbin to avoid postfix's
@@ -62,12 +63,7 @@ SUBST_FILES.paths= doc/Muttrc
SUBST_VARS.paths+= DOCDIR PREFIX
SUBST_STAGE.paths+= pre-configure
-# Define WRKSRC explicitly so we can use its value below.
-WRKSRC= ${WRKDIR}/${DISTNAME}
-PLIST_VARS+= dotlock
-.if exists(${WRKSRC}/mutt_dotlock)
-PLIST.dotlock= yes
-.endif
+SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
.include "../../converters/libiconv/buildlink3.mk"