summaryrefslogtreecommitdiffstats
path: root/mail/pecl-esmtp/Makefile
blob: 0bb907bb6580560dfb5e2aa2ac9deff786d4e8b7 (plain)
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
# Ports collection makefile for:  pecl-esmtp
# Date created:			  2006/08/01
# Whom:				  chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#

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

MAINTAINER=	chinsan.tw@gmail.com
COMMENT=	PECL ESMTP client extenion

LIB_DEPENDS=	esmtp:${PORTSDIR}/mail/libesmtp

USE_PHP=	yes
USE_PHPEXT=	yes

OPTIONS=	RE2C	"Enable re2c to regenerate PHP parsers"	on

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		does not build on FreeBSD 4.x
.endif

.if defined(WITH_RE2C)
BUILD_DEPENDS+=	re2c:${PORTSDIR}/devel/re2c
.endif

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud