From 6a9dcc2edbf4cde24c406493a81b3768a57fdff7 Mon Sep 17 00:00:00 2001 From: dwcjr Date: Wed, 13 Jun 2001 16:02:19 +0000 Subject: Add hooks for VVV patches Fix BUILD_DEPENDS Minor touchups to Makefile Update distinfo for VVV patches Submitted by: maintainer Reviewed by: knu --- mail/mutt-devel/Makefile | 26 +++++++++++++++++++++----- mail/mutt-devel/distinfo | 5 +++++ 2 files changed, 26 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index b14e9fceeb9c..50d197e9cd6b 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -1,7 +1,7 @@ # ex:ts=8 # Ports collection makefile for: mutt development -# Date created: -# Whom: +# Date created: 6 Jun 2001 +# Whom: Udo Schweigert # # $FreeBSD$ # @@ -21,9 +21,13 @@ MAINTAINER= ust@cert.siemens.de USE_GMAKE= yes USE_AUTOMAKE= yes +.if !defined(PATCH_VERSION) +PATCH_VERSION= ${PORTVERSION} +.endif + .if defined(PACKAGE_BUILDING) WITH_SLANG= yes -BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell \ +BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ urlview:${PORTSDIR}/textproc/urlview .if ${MACHINE_ARCH} != "alpha" @@ -48,7 +52,6 @@ USE_OPENSSL= yes BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat .endif - DIST_SUBDIR= mutt GNU_CONFIGURE= yes CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL} @@ -71,6 +74,19 @@ CONFIGURE_ARGS+= --with-curses=${PREFIX} .if defined(WITH_SSL) CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .endif + +.if defined(WITH_VVV_PATCHES) +PATCHFILES= patch-${PATCH_VERSION}.rr.compressed.gz \ + patch-${PATCH_VERSION}.vvv.nntp.gz \ + patch-${PATCH_VERSION}.vvv.initials.gz \ + patch-${PATCH_VERSION}.vvv.quote.gz \ + patch-${PATCH_VERSION}.vvv.ru.gz +PATCH_DIST_STRIP= -p1 +PATCH_SITES= http://mutt.org.ua/download/mutt-${PATCH_VERSION}/ \ + ftp://mutt.org.ua/mutt/mutt-${PATCH_VERSION}/ +CONFIGURE_ARGS+= --enable-nntp --with-regex +.endif + WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1 MAN5= muttrc.5 mbox.5 @@ -100,7 +116,7 @@ post-install: @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ ${PREFIX}/share/doc/mutt .if defined(WITH_DOCS) - env MANMODE=0755 ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html + ${SETENV} MANMODE=0755 ${INSTALL_MAN} -d ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${PREFIX}/share/doc/mutt .endif diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo index 6c4f3c4c4e87..99868f2986b6 100644 --- a/mail/mutt-devel/distinfo +++ b/mail/mutt-devel/distinfo @@ -1 +1,6 @@ MD5 (mutt/mutt-1.3.19i.tar.gz) = 9fbc13fbf6f8de51e1fe4c9f7ba78149 +MD5 (mutt/patch-1.3.19.rr.compressed.gz) = 3456672fbf051f94c63b9673106cfb44 +MD5 (mutt/patch-1.3.19.vvv.nntp.gz) = 52e8d42ec5abf85eaac0c2ba76c4ad24 +MD5 (mutt/patch-1.3.19.vvv.initials.gz) = 6fc2b934af0213cfaac3e64358b607df +MD5 (mutt/patch-1.3.19.vvv.quote.gz) = 86780ab8f283a77bf74b2b35898549b0 +MD5 (mutt/patch-1.3.19.vvv.ru.gz) = bb64f1d7927d74b5d05235db22cbb7da -- cgit