diff options
| author | Jochen Neumeister <joneum@FreeBSD.org> | 2025-11-10 15:35:20 +0000 |
|---|---|---|
| committer | Jochen Neumeister <joneum@FreeBSD.org> | 2025-11-10 15:35:20 +0000 |
| commit | 5861701939247db80e86dfb15ef06c208cd92514 (patch) | |
| tree | 25651e24df53d1519ac9ec20ed4770561c3d018f | |
| parent | 17aa82e67abc764639da29235c1c7c9d647582a8 (diff) | |
mail/phpmailer7: add new Port
This is exactly the same as version 6.11.1 but bumps the major version
number to indicate the presence of a BC break in child classes. The
changes in 6.11.0 and 6.11.1 have been reverted in 6.12.0. If you have
code that depends on those changes, please upgrade to 7.0.0 instead.
Apologies for the mix up.
Specifically, lang(), setLanguage(), and $language are now static, and
should be called statically.
Sponsored by: Netzkommune GmbH
| -rw-r--r-- | mail/Makefile | 1 | ||||
| -rw-r--r-- | mail/phpmailer7/Makefile | 43 | ||||
| -rw-r--r-- | mail/phpmailer7/distinfo | 3 | ||||
| -rw-r--r-- | mail/phpmailer7/files/pkg-message.in | 12 | ||||
| -rw-r--r-- | mail/phpmailer7/pkg-descr | 4 | ||||
| -rw-r--r-- | mail/phpmailer7/pkg-plist | 61 |
6 files changed, 124 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index d753ff756a6d..10ba11914772 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -478,6 +478,7 @@ SUBDIR += phplist SUBDIR += phpmailer SUBDIR += phpmailer6 + SUBDIR += phpmailer7 SUBDIR += pine-pgp-filters SUBDIR += pizauth SUBDIR += pm-lib diff --git a/mail/phpmailer7/Makefile b/mail/phpmailer7/Makefile new file mode 100644 index 000000000000..460053892673 --- /dev/null +++ b/mail/phpmailer7/Makefile @@ -0,0 +1,43 @@ +PORTNAME= phpmailer +PORTVERSION= 7.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= mail +PKGNAMESUFFIX= 7 + +MAINTAINER= joneum@FreeBSD.org +COMMENT= Full Featured Email Transfer Class for PHP +WWW= https://github.com/PHPMailer/PHPMailer + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cpe php + +CONFLICTS_INSTALL= phpmailer + +PORTSCOUT= limit:^7\. + +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> diff --git a/mail/phpmailer7/distinfo b/mail/phpmailer7/distinfo new file mode 100644 index 000000000000..cfd0098f6a5c --- /dev/null +++ b/mail/phpmailer7/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1762788749 +SHA256 (PHPMailer-PHPMailer-v7.0.0_GH0.tar.gz) = a40f813626b770ae77e0028e2ec88d57f523c656977bf3ff92589b539d8a1602 +SIZE (PHPMailer-PHPMailer-v7.0.0_GH0.tar.gz) = 117133 diff --git a/mail/phpmailer7/files/pkg-message.in b/mail/phpmailer7/files/pkg-message.in new file mode 100644 index 000000000000..3725f4d49abb --- /dev/null +++ b/mail/phpmailer7/files/pkg-message.in @@ -0,0 +1,12 @@ +[ +{ type: install + message: <<EOM +You need to adjust php's include_path to contain `%%DATADIR%%'! +For example, insert + + include_path = ".:%%DATADIR%%" + +into `%%LOCALBASE%%/etc/php.ini'. +EOM +} +] diff --git a/mail/phpmailer7/pkg-descr b/mail/phpmailer7/pkg-descr new file mode 100644 index 000000000000..099989623275 --- /dev/null +++ b/mail/phpmailer7/pkg-descr @@ -0,0 +1,4 @@ +PHP email transport class featuring multiple file attachments, SMTP +servers, CCs, BCCs, HTML messages, and word wrap, and more. It can +send email via sendmail, PHP mail(), or with SMTP. Methods are based +on the popular AspEmail active server component. diff --git a/mail/phpmailer7/pkg-plist b/mail/phpmailer7/pkg-plist new file mode 100644 index 000000000000..7dd953c3c6b2 --- /dev/null +++ b/mail/phpmailer7/pkg-plist @@ -0,0 +1,61 @@ +%%DATADIR%%/Exception.php +%%DATADIR%%/PHPMailer.php +%%DATADIR%%/POP3.php +%%DATADIR%%/SMTP.php +%%DATADIR%%/language/phpmailer.lang-af.php +%%DATADIR%%/language/phpmailer.lang-ar.php +%%DATADIR%%/language/phpmailer.lang-as.php +%%DATADIR%%/language/phpmailer.lang-az.php +%%DATADIR%%/language/phpmailer.lang-ba.php +%%DATADIR%%/language/phpmailer.lang-be.php +%%DATADIR%%/language/phpmailer.lang-bg.php +%%DATADIR%%/language/phpmailer.lang-bn.php +%%DATADIR%%/language/phpmailer.lang-ca.php +%%DATADIR%%/language/phpmailer.lang-cs.php +%%DATADIR%%/language/phpmailer.lang-da.php +%%DATADIR%%/language/phpmailer.lang-de.php +%%DATADIR%%/language/phpmailer.lang-el.php +%%DATADIR%%/language/phpmailer.lang-eo.php +%%DATADIR%%/language/phpmailer.lang-es.php +%%DATADIR%%/language/phpmailer.lang-et.php +%%DATADIR%%/language/phpmailer.lang-fa.php +%%DATADIR%%/language/phpmailer.lang-fi.php +%%DATADIR%%/language/phpmailer.lang-fo.php +%%DATADIR%%/language/phpmailer.lang-fr.php +%%DATADIR%%/language/phpmailer.lang-gl.php +%%DATADIR%%/language/phpmailer.lang-he.php +%%DATADIR%%/language/phpmailer.lang-hi.php +%%DATADIR%%/language/phpmailer.lang-hr.php +%%DATADIR%%/language/phpmailer.lang-hu.php +%%DATADIR%%/language/phpmailer.lang-hy.php +%%DATADIR%%/language/phpmailer.lang-id.php +%%DATADIR%%/language/phpmailer.lang-it.php +%%DATADIR%%/language/phpmailer.lang-ja.php +%%DATADIR%%/language/phpmailer.lang-ka.php +%%DATADIR%%/language/phpmailer.lang-ko.php +%%DATADIR%%/language/phpmailer.lang-ku.php +%%DATADIR%%/language/phpmailer.lang-lt.php +%%DATADIR%%/language/phpmailer.lang-lv.php +%%DATADIR%%/language/phpmailer.lang-mg.php +%%DATADIR%%/language/phpmailer.lang-mn.php +%%DATADIR%%/language/phpmailer.lang-ms.php +%%DATADIR%%/language/phpmailer.lang-nb.php +%%DATADIR%%/language/phpmailer.lang-nl.php +%%DATADIR%%/language/phpmailer.lang-pl.php +%%DATADIR%%/language/phpmailer.lang-pt.php +%%DATADIR%%/language/phpmailer.lang-pt_br.php +%%DATADIR%%/language/phpmailer.lang-ro.php +%%DATADIR%%/language/phpmailer.lang-ru.php +%%DATADIR%%/language/phpmailer.lang-si.php +%%DATADIR%%/language/phpmailer.lang-sk.php +%%DATADIR%%/language/phpmailer.lang-sl.php +%%DATADIR%%/language/phpmailer.lang-sr.php +%%DATADIR%%/language/phpmailer.lang-sr_latn.php +%%DATADIR%%/language/phpmailer.lang-sv.php +%%DATADIR%%/language/phpmailer.lang-tl.php +%%DATADIR%%/language/phpmailer.lang-tr.php +%%DATADIR%%/language/phpmailer.lang-uk.php +%%DATADIR%%/language/phpmailer.lang-ur.php +%%DATADIR%%/language/phpmailer.lang-vi.php +%%DATADIR%%/language/phpmailer.lang-zh.php +%%DATADIR%%/language/phpmailer.lang-zh_cn.php |
