blob: b06c7ce1616f0aabba0acc8944bf8671e5083762 (
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
|
# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= phpmailer2
PORTVERSION= 2.0.4
CATEGORIES= mail
MASTER_SITES= SF/phpmailer/phpmailer%20for%20php4/PHPMailer%20v${PORTVERSION}%20for%20PHP4
DISTNAME= PHPMailer_v${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Full Featured Email Transfer Class for PHP4
BROKEN= unfetchable
LICENSE= LGPL21
CONFLICTS= phpmailer-5*
USES= dos2unix
NO_BUILD= yes
USE_PHP= pcre
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in class.phpmailer.php class.pop3.php class.smtp.php
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
.endfor
@${MKDIR} ${STAGEDIR}${DATADIR}/language
@${INSTALL_DATA} ${WRKSRC}/language/* ${STAGEDIR}${DATADIR}/language
@${MKDIR} ${STAGEDIR}${DATADIR}/test
@${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DATADIR}/test
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README LICENSE
@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
@${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
@${CP} -R ${WRKSRC}/phpdocs/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|