Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 13:55:32 +0100 (CET)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48944: maintainer-update of mail/mutt
Message-ID:  <200303051255.h25CtWeU037216@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         48944
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 05 05:00:29 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD alaska.cert.siemens.de 4.8-RC FreeBSD 4.8-RC #50: Tue Mar 4 10:39:16 CET 2003 ust@alaska.cert.siemens.de:/usr/obj/work/src/RELENG_4/sys/alaska i386


	
>Description:

Maintainer-update of mail/mutt:

	- Use "grouped" patch-files and -sites
	- Add WITH_MUTT_XFACE knob for mutt's use with slrnface.

>How-To-Repeat:
>Fix:

diff -ru  /usr/ports/mail/mutt/Makefile ./Makefile
--- /usr/ports/mail/mutt/Makefile	Sat Feb 22 06:32:12 2003
+++ ./Makefile	Wed Mar  5 11:37:05 2003
@@ -18,15 +18,13 @@
 		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 @@
 .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 @@
 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
@@ -122,6 +132,17 @@
 	${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html
 	${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${PREFIX}/share/doc/mutt
 .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>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303051255.h25CtWeU037216>