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

PORTNAME=	perdition
PORTVERSION=	0.1.8
CATEGORIES=	mail net security
MASTER_SITES=	ftp://perdition.sourceforge.net/pub/perdition/%SUBDIR%/ \
		ftp://ftp.au.vergenet.net/pub/perdition/%SUBDIR%/ \
		ftp://ftp.nl.vergenet.net/pub/perdition/%SUBDIR%/ \
		ftp://ftp.jp.vergenet.net/pub/perdition/%SUBDIR%/ \
		ftp://ftp.us.vergenet.net/pub/perdition/%SUBDIR%/
MASTER_SITE_SUBDIR=	${PORTVERSION}

MAINTAINER=	kkonstan@daemon.gr

LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext \
		popt.0:${PORTSDIR}/devel/popt \
		gdbm.2:${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>