# Created by: Zhen REN # $FreeBSD$ PORTNAME= phpmailer PORTVERSION= 5.2.7 CATEGORIES= mail MASTER_SITES= https://github.com/Synchro/PHPMailer/archive/ DISTNAME= v${PORTVERSION} MAINTAINER= joehorn@gmail.com COMMENT= Full Featured Email Transfer Class for PHP LICENSE= LGPL3 OPTIONS_DEFINE= DOCS EXAMPLES WRKSRC= ${WRKDIR}/PHPMailer-${PORTVERSION} NO_BUILD= yes USE_PHP= yes USES= dos2unix SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in PHPMailerAutoload.php class.phpmailer.php class.pop3.php \ class.smtp.php composer.json @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR} .endfor .for d in extras language test @${MKDIR} ${STAGEDIR}${DATADIR}/$d @${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changelog.md README.md LICENSE @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} @${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include