1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/mail/offlineimap/Makefile
Sergei Kolobov 3511a99b71 - The primary URL at the author's site is Gopher over HTTP at port 70.
Thus, some sites have problems downloading the software due to port 70
  being blocked. Switch to another URL - HTTP at port 80.
- Moreover, downloading from the primary URL is still painfully slow
  (averaging 600 Bps), so keep MASTER_SITE_LOCAL in front of the list.
  Update my public_distfiles with the latest tarball to make it work.

PR:		ports/89585
Submitted by:	Toni Schmidbauer <toni at stderror dot at>
2005-11-28 14:41:36 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: offlineimap
# Date created: 08 Aug 2002
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= offlineimap
PORTVERSION= 4.0.11
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.quux.org/devel/offlineimap/
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
MAN1= offlineimap.1
DOCS= COPYRIGHT ChangeLog UPGRADING manual.html manual.pdf \
manual.ps manual.txt
EXAMPLES= offlineimap.conf offlineimap.conf.minimal
post-install:
${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${MANPREFIX}/man/man1/
.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>