aboutsummaryrefslogtreecommitdiff
path: root/security/clamassassin
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-05 17:07:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-05 17:07:43 +0000
commitfb3520254ab73be0aad04c3a63b781750cf26b5b (patch)
tree268d74f9d8738f78b0c895672044611aa6343387 /security/clamassassin
parent4706739618b79681811e5b336a54032908638160 (diff)
downloadports-fb3520254ab73be0aad04c3a63b781750cf26b5b.tar.gz
ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.zip
- Convert to OptionsNG
- Trim header Reviewed by: beat, bapt, kwm
Notes
Notes: svn path=/head/; revision=313460
Diffstat (limited to 'security/clamassassin')
-rw-r--r--security/clamassassin/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/security/clamassassin/Makefile b/security/clamassassin/Makefile
index c29123a6f15b..1fdf3fe0c4ed 100644
--- a/security/clamassassin/Makefile
+++ b/security/clamassassin/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: clamassassin
-# Date created: 16 October 2004
-# Whom: Matt <matt@xtaz.net>
-#
+# Created by: Matt <matt@xtaz.net>
# $FreeBSD$
-#
PORTNAME= clamassassin
PORTVERSION= 1.2.4
@@ -22,17 +18,19 @@ PLIST_FILES= bin/clamassassin
GNU_CONFIGURE= yes
-OPTIONS= CLAMDSCAN "Scanning using clamd" on \
- SUBREWRITE "Mail subject rewriting" off
+OPTIONS_DEFINE= CLAMDSCAN SUBREWRITE
+OPTIONS_DEFAULT= CLAMDSCAN
+CLAMDSCAN_DESC= Scanning using clamd
+SUBREWRITE_DESC= Mail subject rewriting
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined (WITHOUT_CLAMDSCAN)
+.if ${PORT_OPTIONS:MCLAMDSCAN}
CONFIGURE_ARGS+= --enable-clamdscan
.endif
-.if defined (WITH_SUBREWRITE)
+.if ${PORT_OPTIONS:MSUBREWRITE}
CONFIGURE_ARGS+= --enable-subject-rewrite
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>