naddy 93deb26dec switch COMPILER from the old, confusing shortcuts to the more explicit format;
unclear whether these all match the author's intent
2017-11-17 00:22:39 +00:00

32 lines
747 B
Makefile

# $OpenBSD: Makefile,v 1.33 2017/11/17 00:22:39 naddy Exp $
COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.3.0
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= 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 -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>