2013-06-09 20:38:13 +02:00
|
|
|
# Created by: Zhen REN <bg1tpt@gmail.com>
|
2007-04-10 09:29:39 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phpmailer
|
2020-03-25 18:18:37 +01:00
|
|
|
PORTVERSION= 5.2.28
|
2015-05-18 19:07:45 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2007-04-10 09:29:39 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
2018-05-17 16:49:05 +02:00
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
2007-04-10 09:29:39 +02:00
|
|
|
COMMENT= Full Featured Email Transfer Class for PHP
|
|
|
|
|
2015-09-10 19:38:40 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2014-05-24 16:12:32 +02:00
|
|
|
|
2018-11-23 15:42:29 +01:00
|
|
|
USES= cpe dos2unix php
|
|
|
|
|
2018-05-31 19:19:13 +02:00
|
|
|
CONFLICTS_INSTALL= phpmailer6
|
|
|
|
|
|
|
|
PORTSCOUT= limit:^5\.
|
|
|
|
|
2015-05-18 19:07:45 +02:00
|
|
|
USE_GITHUB= yes
|
2015-12-03 17:40:06 +01:00
|
|
|
GH_ACCOUNT= PHPMailer
|
2015-05-18 19:07:45 +02:00
|
|
|
GH_PROJECT= PHPMailer
|
2007-04-10 09:29:39 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2015-09-10 19:38:40 +02:00
|
|
|
NO_ARCH= yes
|
2007-04-10 09:29:39 +02:00
|
|
|
|
2017-01-12 12:29:27 +01:00
|
|
|
CPE_VENDOR= phpmailer_project
|
2010-01-31 04:44:21 +01:00
|
|
|
SUB_FILES= pkg-message
|
2007-04-10 09:29:39 +02:00
|
|
|
|
2016-12-26 22:29:56 +01:00
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
2015-09-10 19:38:40 +02:00
|
|
|
|
2007-04-10 09:29:39 +02:00
|
|
|
do-install:
|
2014-02-06 13:14:25 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2014-05-24 16:12:32 +02:00
|
|
|
.for f in PHPMailerAutoload.php class.phpmailer.php class.pop3.php \
|
|
|
|
class.smtp.php composer.json
|
2015-09-10 19:38:40 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
|
2007-04-10 09:29:39 +02:00
|
|
|
.endfor
|
2016-12-26 13:55:20 +01:00
|
|
|
.for d in extras language
|
2014-02-06 13:14:25 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/$d
|
2015-09-10 19:38:40 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d
|
2012-02-05 11:28:24 +01:00
|
|
|
.endfor
|
2015-09-10 19:38:40 +02:00
|
|
|
|
|
|
|
do-install-EXAMPLES-on:
|
2014-02-06 13:14:25 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2015-09-10 19:38:40 +02:00
|
|
|
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
2007-04-10 09:29:39 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|