aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-spamcontrol/Makefile
blob: bd0bb655e031c78e2a8362184426cf1b0dd33605 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $FreeBSD$

PORTNAME=   qmail
PORTVERSION=    ${QMAIL_VERSION}.${SPAMCONTROL_VERSION}
PORTREVISION=   3
CATEGORIES= mail
MASTER_SITES+=  http://www.fehcom.de/qmail/spamcontrol/:spamcontrol \
        ${MASTER_SITE_LOCAL:S/$/:spamcontrol/}
MASTER_SITE_SUBDIR= bdrewery/qmail/:spamcontrol
PKGNAMESUFFIX=  -spamcontrol
DISTFILES=  ${QMAIL_DIST} ${SPAMCONTROL_DIST}:spamcontrol
EXTRACT_ONLY=   ${QMAIL_DIST}

COMMENT=    Qmail MTA with SpamControl patches

CONFLICTS=  qmail-[0-9]* qmail-ldap-[0-9]* qmail-mysql-[0-9]* qmail-tls-[0-9]*

NO_STAGE=   yes

EXTRA_PATCHES+= ${MASTERDIR}/files/patch-install.c \
        ${MASTERDIR}/files/patch-Makefile \
        ${MASTERDIR}/files/patch-auto_uids-c-dist

# Distfiles
QMAIL_DIST=     ${PORTNAME}-${QMAIL_VERSION}${EXTRACT_SUFX}
SPAMCONTROL_DIST=   spamcontrol-${SPAMCONTROL_VERSION}_tgz.bin
SPAMCONTROL_VERSION=    2624
LATEST_LINK=        ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}

SLAVE_SPAMCONTROL=  yes

# Local overrides
MASTERDIR=  ${.CURDIR}/../qmail
PATCHDIR=   ${.CURDIR}/files
DESCR=      ${.CURDIR}/pkg-descr

.include "${MASTERDIR}/Makefile"