danj 790bc6baf6 Update to isync-1.2.2
Based on a diff from Klemens Nanni, ok dcoppa@ jca@
2017-08-10 15:08:54 +00:00

32 lines
723 B
Makefile

# $OpenBSD: Makefile,v 1.31 2017/08/10 15:08:54 danj Exp $
COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.2.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isync/}
HOMEPAGE= http://isync.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto db sasl2 ssl z
COMPILER= clang gcc
LIB_DEPENDS= databases/db/v4 \
security/cyrus-sasl2
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/db4 -g" \
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>