Date: Tue, 04 Jun 2013 02:54:16 +0200 From: Matthias Andree <mandree@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: m.tsatsenko@gmail.com Subject: ports/179283: [PATCH] mail/mimedefang: convert to optionsNG Message-ID: <E1UjfVw-0006My-0F@apollo.emma.line.org> Resent-Message-ID: <201306040100.r541008Z090592@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179283 >Category: ports >Synopsis: [PATCH] mail/mimedefang: convert to optionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 04 01:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD apollo.emma.line.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - convert to optionsNG - cook Makefile header Port maintainer (m.tsatsenko@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- mimedefang-2.73.patch begins here --- diff -ruN ../../../ports/mail/mimedefang/Makefile ./Makefile --- ../../../ports/mail/mimedefang/Makefile 2012-11-17 06:59:06.000000000 +0100 +++ ./Makefile 2013-06-04 01:08:48.000000000 +0200 @@ -1,9 +1,5 @@ -# New ports collection makefile for: mimedefang -# Date created: 13 May 2002 -# Whom: Andrey V. Pevnev <andrey@mgul.ac.ru> -# -# $FreeBSD: ports/mail/mimedefang/Makefile,v 1.79 2012/11/17 05:59:06 svnexp Exp $ -# +# Created by: Andrey V. Pevnev <andrey@mgul.ac.ru> +# $FreeBSD$ PORTNAME= mimedefang PORTVERSION= 2.73 @@ -23,7 +19,9 @@ p5-Mail-SpamAssassin>=3.0:${PORTSDIR}/mail/p5-Mail-SpamAssassin RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS= CLAMAV "Enable Clamav" on +OPTIONS_DEFINE= CLAMAV +OPTIONS_DEFAULT= CLAMAV +CLAMAV_DESC= Enable Clamav USE_PERL5= yes GNU_CONFIGURE= yes @@ -61,7 +59,7 @@ CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include --with-milterlib=${LOCALBASE}/lib .endif -.if defined (MIMEDEFANG_DISABLE_CLAMAV) || defined(WITHOUT_CLAMAV) +.if defined (MIMEDEFANG_DISABLE_CLAMAV) || ! ${PORT_OPTIONS:MCLAMAV} CONFIGURE_ARGS+= --disable-antivirus \ --disable-clamav \ --disable-clamd @@ -79,7 +77,7 @@ post-install: @${REINPLACE_CMD} -e 's,%%CHMOD%%,${CHMOD},g' ${WRKSRC}/examples/init-script @${INSTALL_SCRIPT} ${WRKSRC}/examples/init-script ${PREFIX}/etc/rc.d/mimedefang -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/ .endif @@ -89,7 +87,7 @@ fi .endfor -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} @cd ${WRKSRC}/examples/ && ${INSTALL_DATA} stream-by-domain-filter \ suggested-minimum-filter-for-windows-clients README ${EXAMPLESDIR}/ --- mimedefang-2.73.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1UjfVw-0006My-0F>