2006-12-27 21:50:29 +01:00
|
|
|
# New ports collection makefile for: isync
|
|
|
|
# Date created: 2000-12-23
|
|
|
|
# Whom: eivind
|
2001-01-02 11:38:34 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-12-27 21:50:29 +01:00
|
|
|
#
|
2001-01-02 11:38:34 +01:00
|
|
|
|
|
|
|
PORTNAME= isync
|
2008-02-26 13:26:46 +01:00
|
|
|
PORTVERSION= 1.0.4
|
2001-01-02 11:38:34 +01:00
|
|
|
CATEGORIES= mail
|
2003-08-16 18:32:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-04-13 15:58:57 +02:00
|
|
|
|
2006-12-27 21:50:29 +01:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Maintain local copies of remote IMAP folders w/synchronized flags
|
2001-01-02 11:38:34 +01:00
|
|
|
|
2003-08-16 18:32:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-27 21:50:29 +01:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_BDB= 42+
|
|
|
|
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2006-12-27 21:50:29 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2001-01-02 11:38:34 +01:00
|
|
|
|
2005-04-15 19:48:23 +02:00
|
|
|
MAN1= isync.1 mbsync.1 mdconvert.1
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
|
|
|
PLIST_FILES= bin/get-cert bin/isync bin/mbsync bin/mdconvert
|
|
|
|
|
2006-04-30 00:08:00 +02:00
|
|
|
CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${OPENSSLINC}
|
|
|
|
LDFLAGS= -L${BDB_LIB_DIR} -L${OPENSSLLIB} -lssl -lcrypto
|
2005-04-15 19:48:23 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
|
2001-01-02 11:38:34 +01:00
|
|
|
|
2005-04-15 19:48:23 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2003-08-16 18:32:44 +02:00
|
|
|
|
2001-01-02 11:38:34 +01:00
|
|
|
.include <bsd.port.mk>
|