44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2009/03/26 11:50:09 jasper Exp $
|
|
|
|
COMMENT= powerful IMAP/Maildir synchronization and reader support
|
|
|
|
V= 6.0.3
|
|
DISTNAME= offlineimap_${V}
|
|
CATEGORIES= mail
|
|
PKGNAME= ${DISTNAME:S/_/-/}p0
|
|
|
|
HOMEPAGE= http://software.complete.org/offlineimap/
|
|
|
|
MAINTAINER= Bernd Ahlers <bernd@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.debian.org/debian/pool/main/o/offlineimap/ \
|
|
ftp://ftp.de.debian.org/debian/pool/main/o/offlineimap/
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
BUILD_DEPENDS= ::textproc/docbook-to-man
|
|
|
|
WRKDIST= ${WRKDIR}/offlineimap
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/offlineimap
|
|
SUBST_VARS= V
|
|
|
|
post-build:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/docbook-to-man offlineimap.sgml \
|
|
> ${WRKBUILD}/offlineimap.1
|
|
|
|
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>
|