aboutsummaryrefslogtreecommitdiffstats
path: root/mail/zabit/Makefile
blob: a4139e01cd1b7a1f43af02c624de6afe2e6cbb3c (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
38
# New ports collection makefile for:   zabit
# Date created:                 14 May 2005
# Whom:                         Ozkan KIRIK <ozkan@enderunix.org>
#
# $FreeBSD$
#

PORTNAME=   zabit
PORTVERSION=    0.7.1
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.enderunix.org/zabit/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Zabit is a content/attachment filter for qmail

USE_QMAIL_RUN=  yes

HAS_CONFIGURE=  yes

.include <bsd.port.pre.mk>

QMAIL_QUEUE=    ${QMAIL_PREFIX}/bin/qmail-queue

pre-build:
.if !defined(BATCH)
    @${DIALOG} --title "${PORTNAME} - ${PORTVERSION} Configuration Menu"\
        --menu "Choose your locale for case insensitive search" 20 60 13\
        en_US English\
        tr_TR Turkish\
        2>${WRKSRC}/conf-locale
.else
    @${ECHO_CMD} "en_US" > ${WRKSRC}/conf-locale
.endif
    @${ECHO_CMD} >> ${WRKSRC}/conf-locale
    @${ECHO_MSG} "===> Locale: `cat ${WRKSRC}/conf-locale`"

.include <bsd.port.post.mk>