Update mail/postfix-current to version 3.2.20161008,4
[dports.git] / mail / isync / Makefile
1 # Created by: eivind
2 # $FreeBSD$
3
4 PORTNAME=       isync
5 PORTVERSION=    1.2.1
6 PORTREVISION=   1
7 CATEGORIES=     mail
8 MASTER_SITES=   SF
9
10 MAINTAINER=     ehaupt@FreeBSD.org
11 COMMENT=        Maintain local copies of remote IMAP folders w/synchronized flags
12
13 LICENSE=        GPLv2
14
15 LIB_DEPENDS=    libsasl2.so:security/cyrus-sasl2
16
17 USES=           alias bdb cpe ssl
18 CPE_VENDOR=     oswald_buddenhagen
19 GNU_CONFIGURE=  yes
20 CONFIGURE_ARGS= --with-sasl=${LOCALBASE} \
21                 --with-ssl=${OPENSSLLIB:H}
22
23 CPPFLAGS+=      -I${BDB_INCLUDE_DIR}
24 LDFLAGS+=       -L${BDB_LIB_DIR}
25
26 post-patch:
27         @${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
28         @${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \
29             ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/compat/Makefile.in
30         @${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
31
32 .include <bsd.port.mk>