summaryrefslogtreecommitdiff
path: root/mail/dkimap4/Makefile
blob: 6508107eb267352d544157fed71de2e5d625371d (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:	dkimap4
# Date created:		18 June 2001
# Whom:			Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=	dkimap4
PORTVERSION=	2.35
CATEGORIES=	mail
MASTER_SITES=	http://www.dbox.handshake.de/download/ \
		http://www.cs.cmu.edu/~kroening/dbox/
EXTRACT_SUFX=	.tgz

MAINTAINER=	anders@fix.no

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

# dkimap will look for incoming mail folders (mbox format) here instead of
# the default from paths.h (/var/mail/) if you uncomment it:
#SPOOLDIR?=	/var/mail/foo/
# dkimap message store:
DKIMAPSPOOL?=	/var/spool/dkimap/
# remember to use a slash in the end of these directories

MAKE_ARGS+=	BIN_DIR="${PREFIX}/bin" DKIMAPSPOOL="${DKIMAPSPOOL}"
.if defined(SPOOLDIR)
MAKE_ARGS+=	SPOOLDIR="${SPOOLDIR}"
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/movemail/movemail ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/dkimap4/dkimap4 ${PREFIX}/libexec
	${INSTALL_PROGRAM} ${WRKSRC}/dkpop3/dkpop3 ${PREFIX}/libexec

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>