mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
5ff66f4b86
OfflineIMAP changed its maintainer again, now it is Sebastian Spaeth. There are too many changes since 6.4.0, so they won't be listed here for this update. Feature safe: yes
71 lines
1.6 KiB
Makefile
71 lines
1.6 KiB
Makefile
# New ports collection makefile for: offlineimap
|
|
# Date created: 08 Aug 2002
|
|
# Whom: nbm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= offlineimap
|
|
DISTVERSION= 6.5.2.1
|
|
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}/${PORTNAME}
|
|
SUB_FILES= pkg-message
|
|
PATCH_STRIP= -p1
|
|
|
|
USE_PYTHON= 2.6+
|
|
USE_PYDISTUTILS= yes
|
|
|
|
DOCS= Changelog.rst README.rst SubmittingPatches.rst \
|
|
docs/FAQ.rst docs/INSTALL.rst docs/MANUAL.rst docs/UPGRADE.rst
|
|
EXAMPLES= offlineimap.conf offlineimap.conf.minimal
|
|
PORTDOCS= ${DOCS:T}
|
|
PORTEXAMPLES= ${EXAMPLES}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !defined(NOPORTDOCS) && defined(WITH_HTMLDOCS)
|
|
BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils
|
|
DOCS:= ${DOCS} ${DOCS: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 ${DOCS:M*.rst}
|
|
rst2html ${WRKSRC}/${r} ${WRKSRC}/${r:R}.html
|
|
.endfor
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|