aboutsummaryrefslogtreecommitdiffstats
path: root/mail/phpmailer6/Makefile
blob: ced9efb8bed32cb5da36af0659450e4b44f8d1fe (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
# $FreeBSD$

PORTNAME=   phpmailer
PORTVERSION=    6.0.5
DISTVERSIONPREFIX=  v
CATEGORIES= mail
PKGNAMESUFFIX=  6

MAINTAINER= joneum@FreeBSD.org
COMMENT=    Full Featured Email Transfer Class for PHP

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/LICENSE

CONFLICTS_INSTALL=  phpmailer

PORTSCOUT=  limit:^6\.

USES=       cpe php
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>