Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 00:01:29 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303941 - head/mail/milter-callback
Message-ID:  <201209090001.q8901TXJ073902@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Sep  9 00:01:29 2012
New Revision: 303941
URL: http://svn.freebsd.org/changeset/ports/303941

Log:
  - Use OPTIONSng
  - Remove deprecated header information

Modified:
  head/mail/milter-callback/Makefile

Modified: head/mail/milter-callback/Makefile
==============================================================================
--- head/mail/milter-callback/Makefile	Sat Sep  8 23:56:34 2012	(r303940)
+++ head/mail/milter-callback/Makefile	Sun Sep  9 00:01:29 2012	(r303941)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	milter-callback
-# Date created:				10 Feb 2010
-# Whom:					Emanuel Haupt <ehaupt@FreeBSD.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	milter-callback
 PORTVERSION=	1.5.10
@@ -26,11 +21,12 @@ MAN8=		milter-callback.8
 EXTRACT_AFTER_ARGS=	| (${MKDIR} ${WRKSRC}; ${TAR} -xf - --no-same-owner \
 				--no-same-permissions -C ${WRKSRC})
 
-OPTIONS=	SPF "build with SPF support" off
+OPTIONS_DEFINE=	SPF
+SPF_DESC=	libspf support
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_SPF)
+.if ${PORT_OPTIONS:MSPF}
 MAKE_ENV+=	WITH_SPF=yes
 LIB_DEPENDS+=	spf2.3:${PORTSDIR}/mail/libspf2
 .endif
@@ -54,4 +50,4 @@ do-install:
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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