aboutsummaryrefslogtreecommitdiffstats
path: root/mail/perdition/Makefile
blob: 80fae478367511efe0d507632ba3286944d0caf4 (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
# New ports collection makefile for:    perdition
# Date created:             28 April 2001
# Whom:                 Konstantinos Konstantinidis <kkonstan@daemon.gr>
#
# $FreeBSD$
#

PORTNAME=   perdition
PORTVERSION=    0.1.9
CATEGORIES= mail net security
MASTER_SITES=   http://www.vergenet.net/linux/perdition/download/${PORTVERSION}/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A POP3 & IMAP4 proxy that can map users to multiple backend servers

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext \
        popt.0:${PORTSDIR}/devel/popt \
        gdbm.3:${PORTSDIR}/databases/gdbm \
        vanessa_logger.0:${PORTSDIR}/devel/libvanessa_logger \
        vanessa_socket.0:${PORTSDIR}/devel/libvanessa_socket \
        vanessa_adt.0:${PORTSDIR}/devel/libvanessa_adt

MAN1=       makegdbm.1
MAN5=       perditiondb.5
MAN8=       perdition.8

USE_LIBTOOL=    YES
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes

post-extract:
    ${MV} ${WRKSRC}/etc/perdition/perdition.conf \
        ${WRKSRC}/etc/perdition/perdition.conf.sample
    ${MV} ${WRKSRC}/perdition/db/gdbm/popmap \
        ${WRKSRC}/perdition/db/gdbm/popmap.sample
    ${MV} ${WRKSRC}/perdition/db/posix_regex/popmap.re \
        ${WRKSRC}/perdition/db/posix_regex/popmap.re.sample

.include <bsd.port.mk>