mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
2701012445
Changelog: - Reject invalid custom headers that are empty or contain breaks - Various fixes for DKIM issues, especially when using mail() transport - Drop the l= length tag from DKIM signatures; it's a mild security risk - Ensure CRLF is used explicitly when needed, rather than static::$LE - Add a method for trimming header content consistently - Some minor tweaks to resolve static analyser complaints - Check that attachment files are readable both when adding and when sending - Work around Outlook bug in mishandling MIME preamble - Danish translation improvements Sponsored by: Netzkommune GmbH
45 lines
813 B
Makefile
45 lines
813 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phpmailer
|
|
PORTVERSION= 6.1.5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= mail
|
|
PKGNAMESUFFIX= 6
|
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
|
COMMENT= Full Featured Email Transfer Class for PHP
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cpe php
|
|
|
|
CONFLICTS_INSTALL= phpmailer
|
|
|
|
PORTSCOUT= limit:^6\.
|
|
|
|
CPE_VENDOR= phpmailer_project
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= PHPMailer
|
|
GH_PROJECT= PHPMailer
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
.for f in Exception.php PHPMailer.php POP3.php SMTP.php
|
|
${INSTALL_DATA} ${WRKSRC}/src/$f ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
|
|
post-install-NLS-on:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/language
|
|
${INSTALL_DATA} ${WRKSRC}/language/* ${STAGEDIR}${DATADIR}/language
|
|
|
|
.include <bsd.port.mk>
|