2007-02-16 16:46:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2007/02/16 15:46:21 tonio Exp $
|
2003-08-10 12:09:20 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= offlineimap_${_OFFLINEIMAP_VER}
|
|
|
|
PKGNAME= offlineimap-${_OFFLINEIMAP_VER}
|
|
|
|
CATEGORIES= mail
|
2007-02-16 16:46:21 +01:00
|
|
|
MASTER_SITES= http://software.complete.org/offlineimap/static/download_area/${_OFFLINEIMAP_VER}/
|
2003-08-10 12:09:20 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-02-16 16:46:21 +01:00
|
|
|
HOMEPAGE= http://software.complete.org/offlineimap
|
2003-08-10 12:09:20 +02:00
|
|
|
COMMENT= Powerful IMAP/Maildir synchronization and reader support
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/offlineimap
|
2003-08-10 12:09:20 +02:00
|
|
|
|
|
|
|
# This is only to placate pkglint
|
2007-02-16 16:46:21 +01:00
|
|
|
_OFFLINEIMAP_VER= 4.0.16
|
2003-08-10 12:09:20 +02:00
|
|
|
|
2007-02-16 16:46:21 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 22 23 24
|
2004-04-15 19:36:29 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
2003-08-10 12:09:20 +02:00
|
|
|
PYTHON_PATCH_SCRIPTS= bin/offlineimap
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
|
2003-08-10 12:09:20 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/examples/offlineimap
|
2004-08-26 12:20:41 +02:00
|
|
|
|
2003-08-10 12:09:20 +02:00
|
|
|
post-install:
|
|
|
|
.for _f_ in offlineimap.conf offlineimap.conf.minimal
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${_f_} ${PREFIX}/share/examples/offlineimap/${_f_}
|
|
|
|
.endfor
|
2007-01-07 10:13:46 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${PREFIX}/${PKGMANDIR}/man1/offlineimap.1
|
2003-08-10 12:09:20 +02:00
|
|
|
|
2007-02-16 16:46:21 +01:00
|
|
|
.include "../../devel/py-cursespanel/buildlink3.mk"
|
|
|
|
.include "../../devel/py-curses/buildlink3.mk"
|
2004-04-15 19:36:29 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2003-08-10 12:09:20 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|