aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-03-27 02:21:14 +0800
committerobraun <obraun@FreeBSD.org>2003-03-27 02:21:14 +0800
commit018c68a7b8d0546b3fb6a2fdd3c5c6755d3710f9 (patch)
tree8b3d3970dea25cdba0de225027190aa9a67fa207 /mail/mutt/Makefile
parent77ebeef5f59f4f5f3d1102c3b03493398e156d9c (diff)
downloadfreebsd-ports-gnome-018c68a7b8d0546b3fb6a2fdd3c5c6755d3710f9.tar.gz
freebsd-ports-gnome-018c68a7b8d0546b3fb6a2fdd3c5c6755d3710f9.tar.zst
freebsd-ports-gnome-018c68a7b8d0546b3fb6a2fdd3c5c6755d3710f9.zip
- Integrate the new "initials"-patch.
- Honor the MUTT_CONFIGURE_ARGS variable, if present. - Fix the PATH for gpg in the rc-example. - Install the configuration examples in ${PREFIX}/share/examples/mutt. PR: ports/50197 Submitted by: maintainer
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index c4823cac95df..92c3182b5b4e 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -24,7 +24,7 @@ PATCH_SITES= http://www.spinnaker.de/mutt/compressed/:spinnaker \
ftp://ftp.mutt.org.ua/pub/mutt/mutt-${PORTVERSION}/:vvv \
ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${PORTVERSION}/:vvv
PATCHFILES= patch-${PORTVERSION}.rr.compressed.1.gz:spinnaker \
- patch-${PORTVERSION:C/\.[0-9]*$//}.vvv.initials.gz:vvv
+ patch-${PORTVERSION}.vvv.initials.gz:vvv
PATCH_DIST_STRIP= -p1
MAINTAINER?= udo.schweigert@siemens.com
@@ -72,6 +72,9 @@ CONFIGURE_ARGS= --enable-pop --enable-imap --enable-flock --disable-fcntl \
--with-docdir=${PREFIX}/share/doc/mutt --with-charmaps \
--with-libiconv-prefix=${PREFIX} \
--enable-compressed
+.if defined(MUTT_CONFIGURE_ARGS)
+CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
+.endif
.if defined(WITH_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
.endif
@@ -87,8 +90,12 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1
MAN5= mbox.5 muttrc.5
+post-patch::
+ @${REINPLACE_CMD} -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \
+ ${WRKSRC}/contrib/gpg.rc
+
.if defined(WITH_MUTT_XFACE)
-post-patch:
+post-patch::
@${ECHO} "===> Applying XFACE patch"
slrnface_dir=`${FIND} ${PORTSDIR}/news/slrnface/work -type d \
-name slrnface-\*`; \