summaryrefslogtreecommitdiff
path: root/mail/offlineimap/Makefile
blob: e4ca0ba41732944748919ba6644b31a5da4c1438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.28 2015/12/05 21:25:48 adam Exp $


DISTNAME=	offlineimap-6.5.6
DISTFILES=	v6.5.6.tar.gz
CATEGORIES=	mail
MASTER_SITES=	https://github.com/OfflineIMAP/offlineimap/archive/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://offlineimap.org/
COMMENT=	Powerful IMAP/Maildir synchronization and reader support
LICENSE=	python-software-foundation AND gnu-gpl-v2 # or later

DEPENDS+=	${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
DEPENDS+=	${PYPKGPREFIX}-cursespanel-[0-9]*:../../devel/py-cursespanel
DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3

INSTALLATION_DIRS=	share/examples/offlineimap

EGG_NAME=	${PKGNAME_NOREV}
REPLACE_PYTHON=	offlineimap/imaplib2.py
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # not yet ported as of 6.5.5

post-install:
.for f in offlineimap.conf offlineimap.conf.minimal
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/examples/offlineimap/${f}
.endfor

.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"