pkgsrc/mail/offlineimap/Makefile
obache 1a0723b265 * Update HOMEPAGE
* set LICENSE
2011-11-26 13:03:36 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2011/11/26 13:03:36 obache Exp $
#
DISTNAME= offlineimap_${_OFFLINEIMAP_VER}
PKGNAME= offlineimap-${_OFFLINEIMAP_VER}
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://software.complete.org/offlineimap/static/download_area/${_OFFLINEIMAP_VER}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://offlineimap.org/
COMMENT= Powerful IMAP/Maildir synchronization and reader support
LICENSE= python-software-foundation AND gnu-gpl-v2 # or later
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/offlineimap
# This is only to placate pkglint
_OFFLINEIMAP_VER= 4.0.16
PYDISTUTILSPKG= yes
PYTHON_PATCH_SCRIPTS= bin/offlineimap
PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/examples/offlineimap
post-install:
.for _f_ in offlineimap.conf offlineimap.conf.minimal
${INSTALL_DATA} ${WRKSRC}/${_f_} ${DESTDIR}${PREFIX}/share/examples/offlineimap/${_f_}
.endfor
${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/offlineimap.1
.include "../../devel/py-cursespanel/buildlink3.mk"
.include "../../devel/py-curses/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"