1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/archivemail/Makefile
Sergei Kolobov d06d1b91f7 - This fixes the following warning when you run archivemail with Python 2.3:
/usr/local/bin/archivemail:760: SyntaxWarning: assignment to None
    (None, last_dir) = os.path.split(os.path.dirname(message.fp.name))

  The patch was also submitted to upstream (using SF's bug tracking system).

PR:		ports/64354
Submitted by:	Simon Barner <barner@in.tum.de>

- Use DOCSDIR/EXAMPLESDIR macros in pkg-plist
- Bump PORTREVISION
2004-04-11 21:53:02 +00:00

36 lines
807 B
Makefile

# New ports collection makefile for: archivemail
# Date created: 2002/04/02
# Whom: Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= archivemail
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sergei@FreeBSD.org
COMMENT= Search mailbox files and archive or delete mail older than N days
USE_PYTHON= yes
USE_PYDISTUTILS=yes
MAN1= archivemail.1
DOCS= CHANGELOG FAQ README TODO
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>