aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pecl-esmtp/Makefile
blob: ca8804f6a770f0965371267b837fb6c3be40a790 (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
# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$

PORTNAME=   esmtp
PORTVERSION=    0.3.1
PORTREVISION=   3
CATEGORIES= mail www
MASTER_SITES=   http://pecl.php.net/get/
PKGNAMEPREFIX=  pecl-
DIST_SUBDIR=    PECL

MAINTAINER= ports@FreeBSD.org
COMMENT=    PECL ESMTP client extension

DEPRECATED= Works only with EOL php 5.5
EXPIRATION_DATE=    2016-10-20

LICENSE=    PHP30

LIB_DEPENDS=    libesmtp.so:mail/libesmtp

USES=       php:ext tar:tgz
IGNORE_WITH_PHP=    56 70

OPTIONS_DEFINE= RE2C
OPTIONS_DEFAULT=    RE2C
RE2C_DESC=  Use re2c to regenerate PHP parsers

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MRE2C}
BUILD_DEPENDS+= re2c:devel/re2c
.endif

post-patch:
    @${REINPLACE_CMD} -e '29,34 d; 45,50 d' ${WRKSRC}/config.m4

.include <bsd.port.mk>