openbsd-ports/mail/isync/Makefile
2011-09-16 10:31:20 +00:00

33 lines
789 B
Makefile

# $OpenBSD: Makefile,v 1.21 2011/09/16 10:31:21 espie Exp $
COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.0.4
REVISION = 3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isync/}
HOMEPAGE= http://isync.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto ssl lib/db4/db>=4
LIB_DEPENDS= databases/db/v4
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/db4" \
LDFLAGS=-L${LOCALBASE}/lib/db4 \
LDADD=-ldb
USE_GROFF = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/isync
${INSTALL_DATA} ${WRKSRC}/src/mbsyncrc.sample ${PREFIX}/share/examples/isync
.include <bsd.port.mk>