openbsd-ports/mail/isync/Makefile
2008-05-14 08:24:14 +00:00

33 lines
810 B
Makefile

# $OpenBSD: Makefile,v 1.12 2008/05/14 08:24:14 pyr Exp $
COMMENT= synchronize IMAP4 and maildir mailboxes
DISTNAME= isync-1.0.4
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isync/}
HOMEPAGE= http://isync.sourceforge.net/
MAINTAINER= Dan Harnett <danh@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto ssl
LIB_DEPENDS= lib/db4/db.>=4:db-4.*:databases/db/v4
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/db4" \
LDFLAGS=-L${LOCALBASE}/lib/db4 \
LDADD=-ldb
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/isync
${INSTALL_DATA} ${WRKSRC}/src/mbsyncrc.sample ${PREFIX}/share/examples/isync
.include <bsd.port.mk>