diff options
author | obraun <obraun@FreeBSD.org> | 2003-03-05 21:50:31 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2003-03-05 21:50:31 +0800 |
commit | 77e522dff2087ffbecfb40d151b4b8a4d8c7cdfd (patch) | |
tree | 8d13a8d752bcb605388a91c657f399a6c1c5e3cf /mail/mutt14 | |
parent | 11a2a31fdb8571069ecbac651cfaf001be823837 (diff) | |
download | freebsd-ports-gnome-77e522dff2087ffbecfb40d151b4b8a4d8c7cdfd.tar.gz freebsd-ports-gnome-77e522dff2087ffbecfb40d151b4b8a4d8c7cdfd.tar.zst freebsd-ports-gnome-77e522dff2087ffbecfb40d151b4b8a4d8c7cdfd.zip |
- Use "grouped" patch-files and -sites
- Add WITH_MUTT_XFACE knob for mutt's use with slrnface.
PR: ports/48944
Submitted by: maintainer
Diffstat (limited to 'mail/mutt14')
-rw-r--r-- | mail/mutt14/Makefile | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile index 08bbbdbdde5b..5c5894260188 100644 --- a/mail/mutt14/Makefile +++ b/mail/mutt14/Makefile @@ -18,15 +18,13 @@ MASTER_SITES= ftp://ftp.mutt.org/mutt/ \ ftp://pgp.rasip.fer.hr/pub/mutt/international/ DISTFILES= ${DISTNAME}i${EXTRACT_SUFX} -PATCH_SITES= http://www.mutt.org.ua/download/${PKGNAME}/ \ - http://www.spinnaker.de/mutt/compressed/ \ - http://www.frmug.org/mutt/mutt/${PKGNAME:S/^mutt-//}/ \ - http://www.math.fu-berlin.de/~leitner/mutt/${PKGNAME:S/^mutt-//}/ \ - http://www.efrei.fr/~parmelan/mutt/${PKGNAME:S/^mutt-//}/ \ - ftp://www.frmug.org/pub/mutt/mutt/${PKGNAME:S/^mutt-//}/ \ - ftp://riemann.iam.uni-bonn.de/pub/mutt/ -PATCHFILES= patch-${PORTVERSION}.rr.compressed.1.gz \ - patch-${PORTVERSION}.vvv.initials.gz +PATCH_SITES= http://www.spinnaker.de/mutt/compressed/:spinnaker \ + http://www.mutt.org.ua/download/mutt-${PORTVERSION}/:vvv \ + http://www2.mutt.org.ua/download/mutt-${PORTVERSION}/:vvv \ + 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}.vvv.initials.gz:vvv PATCH_DIST_STRIP= -p1 MAINTAINER?= udo.schweigert@siemens.com @@ -55,6 +53,10 @@ LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl .if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no" BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat .endif +.if defined(WITH_MUTT_XFACE) +PATCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/news/slrnface:extract +RUN_DEPENDS+= slrnface:${PORTSDIR}/news/slrnface +.endif DIST_SUBDIR= mutt WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} @@ -85,6 +87,14 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1 MAN5= mbox.5 muttrc.5 +.if defined(WITH_MUTT_XFACE) +post-patch: + @${ECHO} "===> Applying XFACE patch" + @slrnface_dir=`${FIND} ${PORTSDIR}/news/slrnface/work -type d \ + -name slrnface-\*`; \ + cd ${BUILD_WRKSRC}; ${PATCH} ${PATCH_ARGS} < $$slrnface_dir/mutt.patch +.endif + # XXX # this should be done automagically by aclocal but .... # for now, this will have to do @@ -124,4 +134,15 @@ post-install: .endif .endif +.if defined(WITH_MUTT_XFACE) + @${ECHO} "" + @${ECHO} "************************************************************" + @${ECHO} " To enable the XFACE support in mutt you also have to add" + @${ECHO} " set xface=yes" + @${ECHO} " to your ~/.muttrc" + @${ECHO} " Additional information is provided by news/slrnface" + @${ECHO} "************************************************************" + @${ECHO} "" +.endif + .include <bsd.port.mk> |