openbsd-ports/mail/isync/Makefile
2022-03-11 19:34:31 +00:00

38 lines
842 B
Makefile

COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.4.4
REVISION= 1
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
# on sparc64 ports-clang fails due to `-no-intergrated-as' default
COMPILER= base-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"
DEBUG_PACKAGES= ${BUILD_PACKAGES}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
mv ${PREFIX}/share/doc/isync/examples ${PREFIX}/share/examples/isync
.include <bsd.port.mk>