mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
fdcd202235
exit function declared in autoconf 2.59 configure scripts conflicts with Clang 6 because stdlib.h declares it with an attribute for C++11 or later. This is fixed in later versions of autoconf 2.60. - Add USES=autoreconf to regenerate configure, new version of autoconf no longer declares the exit function. [1] - Merge the changes from files/patch-configure and post-patch taget into acinclude/ac_with_{cclient,openssl}.m4 [1] http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=a71c24a704ec0570ba99be909fffbc044d50908b Reviewed by: koobs, mat Approved by: koobs (mentor) Differential Revision: https://reviews.freebsd.org/D15532 MFH: 2018Q2
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# Created by: Maxim Tulyuk <mt@primats.org.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mailsync
|
|
PORTVERSION= 5.2.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libc-client4.so:mail/cclient
|
|
|
|
USES= autoreconf gmake ssl
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-c-client=${LOCALBASE} \
|
|
--with-openssl=${OPENSSLBASE}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/mailsync ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS NEWS README \
|
|
THANKS TODO ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ABSTRACT HACKING \
|
|
mail_open_close_flowchart.dia \
|
|
mail_open_close_flowchart.svg \
|
|
mail_open_close_flowchart2.svg ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|