32 lines
940 B
Makefile
32 lines
940 B
Makefile
# $NetBSD: Makefile,v 1.29 2012/01/18 14:34:29 adam Exp $
|
|
|
|
DISTNAME= isync-1.0.4
|
|
PKGREVISION= 4
|
|
CATEGORIES= mail net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isync/}
|
|
|
|
MAINTAINER= tonio@NetBSD.org
|
|
HOMEPAGE= http://isync.sourceforge.net/
|
|
COMMENT= Synchronize a maildir with an imap server
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BDB_ACCEPTED= db4 db5
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
|
|
LDFLAGS+= -lcrypto
|
|
|
|
INSTALLATION_DIRS+= share/examples/isync
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/mbsyncrc.sample \
|
|
${DESTDIR}${PREFIX}/share/examples/isync/mbsyncrc.sample
|
|
${INSTALL_DATA} ${WRKSRC}/src/compat/isyncrc.sample \
|
|
${DESTDIR}${PREFIX}/share/examples/isync/isyncrc.sample
|
|
|
|
BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bdb.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|