summaryrefslogtreecommitdiff
path: root/mail/offlineimap/Makefile
blob: ba56b52ae75e2a28bd4c480c018e897eb78e2dd9 (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
32
# $NetBSD: Makefile,v 1.22 2012/03/20 01:28:18 obache Exp $
#

DISTNAME=	offlineimap-v6.5.2.1
PKGNAME=	${DISTNAME:S/-v/-/}
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://cloud.github.com/downloads/spaetz/offlineimap/

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

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/offlineimap

INSTALLATION_DIRS=	share/examples/offlineimap

EGG_NAME=	${PKGNAME_NOREV}

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

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