summaryrefslogtreecommitdiff
path: root/mail/offlineimap/Makefile
blob: 46b743bed26133f025187768ad968a96c2775695 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for: offlineimap
# Date created:		08 Aug 2002
# Whom:			nbm
#
# $FreeBSD$
#

PORTNAME=	offlineimap
PORTVERSION=	6.0.3
CATEGORIES=	mail python
MASTER_SITES=	http://software.complete.org/software/attachments/download/334/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	sergei
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Powerful IMAP/Maildir synchronization and reader support

.if !defined(WITHOUT_X11)
RUN_DEPENDS=	${TKINTER}:${PORTSDIR}/x11-toolkits/py-tkinter

TKINTER=	${PYTHON_SITELIBDIR}/_tkinter.so
.endif

WRKSRC=		${WRKDIR}/${PORTNAME}
SUB_FILES=	pkg-message

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

DOCS=		COPYING COPYRIGHT FAQ.html README UPGRADING
EXAMPLES=	offlineimap.conf offlineimap.conf.minimal

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
	@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>