freebsd-ports/mail/isync/Makefile
John Marino e37d39a111 Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 09:34:03 +00:00

35 lines
744 B
Makefile

# Created by: eivind
# $FreeBSD$
PORTNAME= isync
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Maintain local copies of remote IMAP folders w/synchronized flags
LICENSE= GPLv2
USES= alias
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_BDB= 46+
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${OPENSSLINC}
LDFLAGS+= -L${BDB_LIB_DIR} -L${OPENSSLLIB} -lssl -lcrypto
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>