svn commit: r303941 - head/mail/milter-callback

Emanuel Haupt ehaupt at FreeBSD.org
Sun Sep 9 00:01:30 UTC 2012


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 at 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>



More information about the svn-ports-all mailing list