aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-scanner1/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-03-15 22:03:42 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-03-15 22:03:42 +0000
commit63f96859ce0b25a7057110abdd77cff71ff45681 (patch)
treed72ad8a21ce169d4163dc3bde69207c34ac21e0d /mail/qmail-scanner1/Makefile
parent4cf78eacbab3fd0188059a00356e6e23e76e547b (diff)
downloadports-63f96859ce0b25a7057110abdd77cff71ff45681.tar.gz
ports-63f96859ce0b25a7057110abdd77cff71ff45681.zip
- Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well - Trim headers USES= qmail:run will add qmail into RUN_DEPENDS USES= qmail:build will add qmail into BUILD_DEPENDS USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS USES= qmail:vars will set QMAIL_PREFIX With hat: portmgr
Notes
Notes: svn path=/head/; revision=314324
Diffstat (limited to 'mail/qmail-scanner1/Makefile')
-rw-r--r--mail/qmail-scanner1/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/qmail-scanner1/Makefile b/mail/qmail-scanner1/Makefile
index b72416a031d4..7627c9618b42 100644
--- a/mail/qmail-scanner1/Makefile
+++ b/mail/qmail-scanner1/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: qmail-scanner
-# Date created: 2003-08-24
-# Whom: moeti
-#
+# Created by: moeti
# $FreeBSD$
-#
PORTNAME= qmail-scanner
PORTVERSION= 1.25
@@ -27,6 +23,8 @@ SUB_LIST= SPOOLDIR=${SPOOLDIR}
NO_LATEST_LINK= yes
CONFLICTS= qmail-scanner-2.*
+USES= qmail
+
QMAIL_QUEUE= ${QMAIL_PREFIX}/bin/qmail-queue
USE_PERL5= yes
@@ -82,8 +80,6 @@ CONFIGURE_ARGS+= --spams-tosuffix "${QMAILSCAN_SPAMSTOSUFFIX}"
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_QMAIL= yes
-
SPOOLDIR= ${PREFIX}/qmailscan
PLIST_SUB= SPOOLDIR="${SPOOLDIR:S,${PREFIX}/,,}"