1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/mail/offlineimap/Makefile
Eygene Ryabinkin 68dba16b26 mail/offlineimap: upgrade to 6.5.4
Changes since 6.5.3.1:

 - Bump bundled imaplib2 library 2.29 --> 2.33
 - Actually perform the SSL fingerprint check (reported by J. Cook)
 - Curses UI, don't use colors after we shut down curses already
   (C.H"oger)
 - Document that '%' needs encoding as '%%' in *.conf
 - Fix crash when IMAP.quickchanged() led to an Error
   (reported by sharat87)
 - Implement the createfolders setting to disable folder propagation
   (see docs)

Changes since 6.5.3:

 - Don't fail if no dry-run setting exists in offlineimap.conf
   (introduced in 6.5.3)

Changes since 6.5.2.1:

 - --dry-run mode protects us from performing any actual action.
   It will not precisely give the exact information what will happen.
   If e.g. it would need to create a folder, it merely outputs "Would
   create folder X", but not how many and which mails it would
   transfer.
 - Internal code changes to prepare for Python3
 - Improve user documentation of nametrans/folderfilter
 - Fixed some cases where invalid nametrans rules were not caught and
   we would not propagate local folders to the remote repository. (now
   tested in test03)
 - Revert "* Slight performance enhancement uploading mails to an IMAP
   server in the common case." It might have led to instabilities.
 - Revamped documentation structure. make in the docs dir or make doc
   in the root dir will now create the 1) man page and 2) the user
   documentation using sphinx (requiring python-doctools, and sphinx).
   The resulting user docs are in docs/html. You can also only create
   the man pages with make man in the docs dir.
 - -f command line option only works on the untranslated remote
   repository folder names now. Previously folderfilters had to match
   both the local AND remote name which caused unwanted behavior in
   combination with nametrans rules. Clarify in the help text.
 - Some better output when using nonsensical configuration settings
2012-06-19 08:41:42 +00:00

96 lines
2.4 KiB
Makefile

# New ports collection makefile for: offlineimap
# Date created: 08 Aug 2002
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= offlineimap
DISTVERSION= 6.5.4
CATEGORIES= mail python
MASTER_SITES= http://cloud.github.com/downloads/spaetz/offlineimap/ \
http://dist.codelabs.ru/fbsd/offlineimap/
DISTNAME= ${PORTNAME}-v${DISTVERSION}
MAINTAINER= rea@FreeBSD.org
COMMENT= Powerful IMAP/Maildir synchronization and reader support
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LICENSE_FILE_GPLv2=${WRKSRC}/COPYING
OPTIONS= HTMLDOCS "Generate HTML documentation" Off
WRKSRC= ${WRKDIR}/${GITHUB_USER}-${PORTNAME}-${GITHUB_HASH}
SUB_FILES= pkg-message
PATCH_STRIP= -p1
GITHUB_USER= spaetz
GITHUB_HASH= c9e9690
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
DOC_FILES= Changelog.maint.rst Changelog.rst \
docs/INSTALL.rst docs/MANUAL.rst \
docs/doc-src/API.rst docs/doc-src/FAQ.rst \
docs/doc-src/HACKING.rst docs/doc-src/INSTALL.rst \
docs/doc-src/MANUAL.rst docs/doc-src/advanced_config.rst \
docs/doc-src/features.rst docs/doc-src/index.rst \
docs/doc-src/nametrans.rst docs/doc-src/offlineimap.rst \
docs/doc-src/repository.rst docs/doc-src/ui.rst
PORTDOCS= docs ${DOC_FILES:N*/*}
EXAMPLE_FILES= offlineimap.conf offlineimap.conf.minimal
PORTEXAMPLES= ${EXAMPLE_FILES:N*/*}
DOC_DIRS= ${DOC_FILES:H:O:u:N.}
EXAMPLE_DIRS= ${EXAMPLE_FILES:H:O:u:N.}
.include <bsd.port.options.mk>
.if !defined(NOPORTDOCS) && defined(WITH_HTMLDOCS)
BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils
DOC_FILES:= ${DOC_FILES} ${DOC_FILES:M*.rst:S/.rst$/.html/}
.endif
# This is needed for pkg-message.in
.if defined(NOPORTEXAMPLES)
SUB_LIST+= PORTEXAMPLES="@comment "
.else
SUB_LIST+= PORTEXAMPLES=""
.endif
post-build:
.if !defined(NOPORTDOCS) && defined(WITH_HTMLDOCS)
.for r in ${DOC_FILES:M*.rst}
@${ECHO} "Translating ${r} to HTML..."
@rst2html ${WRKSRC}/${r} ${WRKSRC}/${r:R}.html
.endfor
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@for i in ${DOC_DIRS}; do \
${MKDIR} ${DOCSDIR}/$$i; \
done
@cd ${WRKSRC} && for i in ${DOC_FILES}; do \
${ECHO} "Installing ${DOCSDIR}/$$i"; \
${INSTALL_DATA} $$i ${DOCSDIR}/$$i; \
done
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@for i in ${EXAMPLE_DIRS}; do \
${MKDIR} ${EXAMPLESDIR}/$$i; \
done
@cd ${WRKSRC} && for i in ${EXAMPLE_FILES}; do \
${ECHO} "Installing ${EXAMPLESDIR}/$$i"; \
${INSTALL_DATA} $$i ${EXAMPLESDIR}/$$i; \
done
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>