openbsd-ports/mail/isync/Makefile
2010-11-11 10:54:02 +00:00

33 lines
801 B
Makefile

# $OpenBSD: Makefile,v 1.17 2010/11/11 10:54:02 espie Exp $
COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.0.4
REVISION = 1
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= :db->=4,<5: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>