aboutsummaryrefslogtreecommitdiffstats
path: root/mail/teapop/Makefile
blob: ba1d553ed93d4edeb53a105c2e29db2acab16ac1 (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
39
40
41
42
43
44
45
# New ports collection makefile for:    teapop
# Date created:         18 May 2000
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   teapop
PORTVERSION=    0.28
CATEGORIES= mail
MASTER_SITES=   ftp://ftp.toontown.org/pub/teapop/ \
        http://www.toontown.org/pub/teapop/

MAINTAINER= jim@FreeBSD.org

.if defined(WITH_PGSQL)
LIB_DEPENDS=    pq.2:${PORTSDIR}/databases/postgresql7
.endif

.if defined(WITH_MYSQL)
LIB_DEPENDS=    mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif

GNU_CONFIGURE=  yes
CONFIGURE_ARGS=     --enable-flock

.if defined(WITHOUT_APOP)
CONFIGURE_ARGS+=    --disable-apop
.endif

.if defined(WITHOUT_VPOP)
CONFIGURE_ARGS+=    --disable-vpop
.endif

.if defined(WITH_PGSQL)
CONFIGURE_ARGS+=    --with-pgsql=${PREFIX}/pgsql
.endif

.if defined(WITH_MYSQL)
CONFIGURE_ARGS+=    --with-mysql=${PREFIX}
.endif

MAN8=       teapop.8

.include <bsd.port.mk>