a2e47116a6
PR: ports/79975 Submitted by: Ports Fury
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: isync
|
|
# Date created: 2000-12-23
|
|
# Whom: eivind
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= isync
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
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 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
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|