1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/offlineimap/Makefile
Sergei Kolobov 5e124fa6ec - Update to 6.0.3
- Use author's website as a primary MASTER_SITE
- Use MASTER_SITE_LOCAL/sergei as a backup
- Take back maintainership of this port
2009-01-26 14:59:34 +00:00

45 lines
1.1 KiB
Makefile

# 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}
PKGMESSAGE= ${WRKDIR}/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}
@${SED} -e 's!%%EXAMPLESDIR%%!${EXAMPLESDIR}!' \
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>