blob: 3b4b27af06d9761c65ee2402a5f84b8ea19e8455 (
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
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: phpmailer
# Date created: 6 April 2007
# Whom: Zhen REN <bg1tpt@gmail.com>
#
# $FreeBSD$
#
PORTNAME= phpmailer
PORTVERSION= 5.2.2
CATEGORIES= mail
MASTER_SITES= http://${PORTNAME}.apache-extras.org.codespot.com/files/
DISTNAME= PHPMailer_${PORTVERSION}
MAINTAINER= joehorn@gmail.com
COMMENT= Full Featured Email Transfer Class for PHP
LICENSE= LGPL3
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_ZIP= yes
USE_DOS2UNIX= yes
NO_BUILD= yes
IGNORE_WITH_PHP= 4
USE_PHP= pcre
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${DATADIR}
.for f in class.phpmailer.php class.pop3.php class.smtp.php
@${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
.endfor
.for d in extras language test
@${MKDIR} ${DATADIR}/$d
@${INSTALL_DATA} ${WRKSRC}/$d/* ${DATADIR}/$d
.endfor
@${CP} -R ${WRKSRC}/test_script ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in changelog.txt README LICENSE
@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
.endfor
@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|