aboutsummaryrefslogtreecommitdiff
path: root/mail/isync
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-04-15 17:48:23 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-04-15 17:48:23 +0000
commita2e47116a640640dcb2a49b190da2e954302be2d (patch)
tree48013658f1ac98e906d62b023f6bed70ca329502 /mail/isync
parent071a17a29e510cf55ad2232632d6f986788b88c4 (diff)
downloadports-a2e47116a640640dcb2a49b190da2e954302be2d.tar.gz
ports-a2e47116a640640dcb2a49b190da2e954302be2d.zip
Notes
Diffstat (limited to 'mail/isync')
-rw-r--r--mail/isync/Makefile27
-rw-r--r--mail/isync/distinfo4
-rw-r--r--mail/isync/files/patch-src-drv_imap.c10
3 files changed, 32 insertions, 9 deletions
diff --git a/mail/isync/Makefile b/mail/isync/Makefile
index 1c89d1ac57b8..49e87c6d4b80 100644
--- a/mail/isync/Makefile
+++ b/mail/isync/Makefile
@@ -5,26 +5,39 @@
# $FreeBSD$
PORTNAME= isync
-PORTVERSION= 0.9.1
+PORTVERSION= 1.0.1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
-
MAINTAINER= ports@FreeBSD.org
COMMENT= Maintain local copies of remote IMAP folders w/synchronized flags
+LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42
+
USE_GETOPT_LONG= yes
USE_OPENSSL= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-MAN1= isync.1
-PLIST_FILES= bin/isync
+MAN1= isync.1 mbsync.1 mdconvert.1
+PORTDOCS= AUTHORS ChangeLog NEWS README TODO
+PLIST_FILES= bin/get-cert bin/isync bin/mbsync bin/mdconvert
+
+CPPFLAGS= -I${LOCALBASE}/include/db42 -I${OPENSSLINC}
+LDFLAGS= -L${LOCALBASE}/lib/db42 -L${OPENSSLLIB} -lssl -lcrypto
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
-CPPFLAGS= -I${LOCALBASE}/include/db3 -I${OPENSSLINC}
-LDFLAGS= -L${LOCALBASE}/lib -ldb3 -L${OPENSSLLIB} -lssl -lcrypto
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/mail/isync/distinfo b/mail/isync/distinfo
index 8763e0377868..1503035239d6 100644
--- a/mail/isync/distinfo
+++ b/mail/isync/distinfo
@@ -1,2 +1,2 @@
-MD5 (isync-0.9.1.tar.gz) = d3e0dc500c9d20cea3fd1245451e14fd
-SIZE (isync-0.9.1.tar.gz) = 106953
+MD5 (isync-1.0.1.tar.gz) = 3e238b87e4f39173121d60873f9d2b05
+SIZE (isync-1.0.1.tar.gz) = 165617
diff --git a/mail/isync/files/patch-src-drv_imap.c b/mail/isync/files/patch-src-drv_imap.c
new file mode 100644
index 000000000000..84b72e9fc1be
--- /dev/null
+++ b/mail/isync/files/patch-src-drv_imap.c
@@ -0,0 +1,10 @@
+--- src/drv_imap.c.orig Mon Mar 28 19:41:04 2005
++++ src/drv_imap.c Sun Apr 10 13:00:50 2005
+@@ -26,6 +26,7 @@
+
+ #include <assert.h>
+ #include <unistd.h>
++#include <limits.h>
+ #include <sys/mman.h>
+ #include <sys/time.h>
+ #include <stdlib.h>nistd.h>