2011-10-10 09:31:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2011/10/10 13:31:43 mpi Exp $
|
2003-11-19 11:58:38 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= powerful IMAP/Maildir synchronization and reader support
|
2003-11-19 11:58:38 -05:00
|
|
|
|
2011-10-10 09:31:43 -04:00
|
|
|
MODPY_EGG_VERSION= 6.3.4
|
2010-09-16 07:04:37 -04:00
|
|
|
DISTNAME= offlineimap_${MODPY_EGG_VERSION}.orig
|
2003-11-19 11:58:38 -05:00
|
|
|
CATEGORIES= mail
|
2010-09-16 07:04:37 -04:00
|
|
|
PKGNAME= offlineimap-${MODPY_EGG_VERSION}
|
2003-11-19 11:58:38 -05:00
|
|
|
|
2011-04-27 08:59:27 -04:00
|
|
|
HOMEPAGE= http://offlineimap.org/
|
2003-11-19 11:58:38 -05:00
|
|
|
|
2010-09-17 07:21:21 -04:00
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
2003-11-19 11:58:38 -05:00
|
|
|
|
2008-07-26 05:56:36 -04:00
|
|
|
# GPLv2+
|
2003-11-19 11:58:38 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-04-27 08:59:27 -04:00
|
|
|
MASTER_SITES= http://github.com/nicolas33/offlineimap/tarball/v${MODPY_EGG_VERSION}/
|
2003-11-19 11:58:38 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-08-04 15:20:43 -04:00
|
|
|
MODULES= lang/python
|
2003-11-19 11:58:38 -05:00
|
|
|
|
2011-04-27 08:59:27 -04:00
|
|
|
BUILD_DEPENDS= textproc/py-docutils
|
2008-07-26 05:56:36 -04:00
|
|
|
|
2011-10-10 09:31:43 -04:00
|
|
|
WRKDIST= ${WRKDIR}/nicolas33-offlineimap-94450e9
|
2003-11-19 11:58:38 -05:00
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/offlineimap
|
|
|
|
|
2008-07-26 05:56:36 -04:00
|
|
|
post-build:
|
2011-04-27 08:59:27 -04:00
|
|
|
@cd ${WRKSRC}/docs && ${LOCALBASE}/bin/rst2man MANUAL.rst ${WRKBUILD}/offlineimap.1
|
2008-07-26 05:56:36 -04:00
|
|
|
|
2003-11-19 11:58:38 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/offlineimap.conf{,.minimal} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/offlineimap.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|