aboutsummaryrefslogtreecommitdiff
path: root/mail/perdition/Makefile
blob: e2f0e2bcc311b63476e53ed6968581055eff6c9c (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
# 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

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>