diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-04 10:32:49 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-04 10:32:49 +0000 |
commit | 7117487ddb38fee864033b869ed6b65f7094a29c (patch) | |
tree | 72a8cb20efc8916ac1fe7ec801ddfe0d2d0136bf /mail/scam-backscatter | |
parent | 1f1a5f1e120cc7ffd0b13ccf1e289a157ca7e5dd (diff) | |
download | ports-7117487ddb38fee864033b869ed6b65f7094a29c.tar.gz ports-7117487ddb38fee864033b869ed6b65f7094a29c.zip |
Convert to new options framework
Notes
Notes:
svn path=/head/; revision=319851
Diffstat (limited to 'mail/scam-backscatter')
-rw-r--r-- | mail/scam-backscatter/Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/mail/scam-backscatter/Makefile b/mail/scam-backscatter/Makefile index 02823bc18de3..77700bd77323 100644 --- a/mail/scam-backscatter/Makefile +++ b/mail/scam-backscatter/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: scam-backscatter -# Date created: 2010-05-27 -# Whom: Janne Snabb <snabb@epipe.com> -# +# Created by: Janne Snabb <snabb@epipe.com> # $FreeBSD$ -# PORTNAME= scam-backscatter PORTVERSION= 1.5.1 @@ -23,9 +19,10 @@ SUB_FILES= pkg-message MAKEFILE= Makefile.freebsd ALL_TARGET= -OPTIONS= ALLDOMAINS "Verify any domain with the backend" Off \ - EHLO "Use EHLO instead of HELO in SMTP session" Off \ - USEMAILERTABLE "Use mailertable to map domains to backends" Off +OPTIONS_DEFINE= ALLDOMAINS EHLO USEMAILERTABLE DOCS +ALLDOMAINS_DESC= Verify any domain with the backend +EHLO_DESC= Use EHLO instead of HELO in SMTP session +USEMAILERTABLE_DESC= Use mailertable to map domains to backends .include <bsd.port.options.mk> .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" @@ -37,13 +34,13 @@ LIBS+= ${SENDMAIL_LDADD} CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} -.if defined(WITH_ALLDOMAINS) +.if ${PORT_OPTIONS:MALLDOMAINS} CFLAGS+= -DALLDOMAINS .endif -.if defined(WITH_EHLO) +.if ${PORT_OPTIONS:MEHLO} CFLAGS+= -DEHLO .endif -.if defined(WITH_USEMAILERTABLE) +.if ${PORT_OPTIONS:MUSEMAILERTABLE} CFLAGS+= -DUSEMAILERTABLE .endif @@ -62,7 +59,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/scam.conf ${PREFIX}/etc/mail/scam-back.conf.sample post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/INSTALL ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/License ${DOCSDIR} |