summaryrefslogtreecommitdiff
path: root/mail/offlineimap/Makefile
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-08-10 10:09:20 +0000
committerseb <seb@pkgsrc.org>2003-08-10 10:09:20 +0000
commit1d158f3f0f38a0769e521b6a523259dc22a861b8 (patch)
tree4d7ea072d80459119e429eca81ade25f555a5858 /mail/offlineimap/Makefile
parent255fe4ba0479aa045e203c618514534230573b56 (diff)
downloadpkgsrc-1d158f3f0f38a0769e521b6a523259dc22a861b8.tar.gz
Initial import of OfflineIMAP, version 4.0.0, into the NetBSD Packages
Collection. OfflineIMAP is a tool to simplify your e-mail reading. It synchronizes remote IMAP folders and local Maildir folders. It is fast flexible and safe. It is also useful if you want to use a mail reader that does not have IMAP support, has poor IMAP support, or does not provide disconnected operation.
Diffstat (limited to 'mail/offlineimap/Makefile')
-rw-r--r--mail/offlineimap/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile
new file mode 100644
index 00000000000..448ea55ca5f
--- /dev/null
+++ b/mail/offlineimap/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/10 10:09:20 seb Exp $
+#
+
+DISTNAME= offlineimap_${_OFFLINEIMAP_VER}
+PKGNAME= offlineimap-${_OFFLINEIMAP_VER}
+WRKSRC= ${WRKDIR}/offlineimap
+CATEGORIES= mail
+MASTER_SITES= http://gopher.quux.org:70/devel/offlineimap/
+
+MAINTAINER= seb@netbsd.org
+HOMEPAGE= http://gopher.quux.org:70/devel/offlineimap/
+COMMENT= Powerful IMAP/Maildir synchronization and reader support
+
+USE_BUILDLINK2= # defined
+
+# This is only to placate pkglint
+_OFFLINEIMAP_VER= 4.0.0
+
+PYTHON_VERSIONS_ACCEPTED= 22pth 23pth
+BUILDLINK_DEPENDS.python22-pth= python22-pth>=2.2.2
+PYTHON_PATCH_SCRIPTS= bin/offlineimap
+PYTHON_PATCH_SCRIPT_SED= -e "1s;^\#!.*python.*;\#!${PYTHONBIN};"
+PLIST_SUBST+= PYSITELIB=${PYSITELIB}
+
+do-build:
+ cd ${WRKSRC}; ${PYTHONBIN} setup.py build
+
+do-install:
+ cd ${WRKSRC}; ${PYTHONBIN} setup.py install
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/offlineimap
+.for _f_ in offlineimap.conf offlineimap.conf.minimal
+ ${INSTALL_DATA} ${WRKSRC}/${_f_} ${PREFIX}/share/examples/offlineimap/${_f_}
+.endfor
+ ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${PREFIX}/man/man1/offlineimap.1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"