4615115ebe
This module integrates PHPMailer with Drupal, both as native drupal_mail() wrapper, and as part of the Mime Mail module, allowing you to send mail directly by SMTP (optionally with authentication/encryption). Avoids sending mail with PHP's mail() function (which needs /bin/sh in the chroot jail).
21 lines
573 B
Makefile
21 lines
573 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/27 11:14:37 sthen Exp $
|
|
|
|
COMMENT = send mail by smtp/smtp-auth from drupal
|
|
|
|
DISTNAME = phpmailer-6.x-2.1
|
|
PKGNAME = drupal6-phpmailer-2.1
|
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# drupal module is GPL, third-party phpMailer code is LGPL
|
|
MASTER_SITES0 = ${MASTER_SITE_SOURCEFORGE:=phpmailer/}
|
|
PHPMAILER = phpMailer_v2.3
|
|
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
|
|
${PHPMAILER}${EXTRACT_SUFX}:0
|
|
|
|
pre-patch:
|
|
cd ${WRKDIR}/${PHPMAILER}; \
|
|
mv class.phpmailer.php class.smtp.php ${WRKSRC}/phpmailer/
|
|
|
|
.include <bsd.port.mk>
|