blob: 34e31c40051d012ed84b9bc5767a5e55608b1b55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: Zhen REN <bg1tpt@gmail.com>
# $FreeBSD$
PORTNAME= phpmailer
PORTVERSION= 5.2.7
DISTVERSIONPREFIX= v
CATEGORIES= mail
MAINTAINER= joehorn@gmail.com
COMMENT= Full Featured Email Transfer Class for PHP
LICENSE= LGPL3
OPTIONS_DEFINE= DOCS EXAMPLES
USE_GITHUB= yes
GH_ACCOUNT= Synchro
GH_PROJECT= PHPMailer
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 <bsd.port.mk>
|