47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: offlineimap
|
|
# Date created: 08 Aug 2002
|
|
# Whom: nbm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= offlineimap
|
|
PORTVERSION= 3.99.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= http://gopher.quux.org:70/devel/offlineimap/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= sergei@kolobov.com
|
|
COMMENT= Powerful IMAP/Maildir synchronization and reader support
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
MAN1= offlineimap.1
|
|
DOCS= manual.html manual.pdf manual.ps manual.txt
|
|
EXAMPLES= offlineimap.conf offlineimap.conf.minimal
|
|
|
|
DEFAULT_EXAMPLES_DIR=/usr/local/share/examples/offlineimap
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${MANPREFIX}/man/man1/
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for file in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
|
|
.endfor
|
|
@${SED} -e 's!${DEFAULT_EXAMPLES_DIR}!${EXAMPLESDIR}!' \
|
|
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|