openbsd-ports/mail/isync/Makefile
kn fa9ff64f77 Do not crash when using Tunnel in an IPv6-enabled build
Cherry-picked 7607e53d56f9470ee221cd5b644dda829f54b005,
from Caspar Schutijser, thanks.
2020-01-18 11:13:46 +00:00

37 lines
809 B
Makefile

# $OpenBSD: Makefile,v 1.42 2020/01/18 11:13:46 kn Exp $
COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.3.1
REVISION= 0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isync/}
HOMEPAGE= http://isync.sourceforge.net/
MAINTAINER= Klemens Nanni <kn@openbsd.org>
# GPLv2+
PERMIT_PACKAGE= Yes
# uses pledge()
WANTLIB= c crypto db sasl2 ssl z
COMPILER= base-clang ports-clang ports-gcc
LIB_DEPENDS= databases/db/v4 \
security/cyrus-sasl2
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/db4" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
mv ${PREFIX}/share/doc/isync/examples ${PREFIX}/share/examples/isync
.include <bsd.port.mk>