# New ports collection makefile for: mailsync # Date created: 03 Feb 2003 # Whom: Maxim Tulyuk # # $FreeBSD$ # PORTNAME= mailsync PORTVERSION= 5.2.1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GMAKE= yes USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-c-client=${LOCALBASE} MAN1= mailsync.1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/mailsync ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING NEWS README \ THANKS TODO ${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ABSTRACT HACKING \ mail_open_close_flowchart.dia \ mail_open_close_flowchart.svg \ mail_open_close_flowchart2.svg ${DOCSDIR} .endif ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${EXAMPLESDIR} .include