summaryrefslogtreecommitdiffstats
path: root/devel/pecl-expect/Makefile
blob: cabb1054c3e303e2cad38a8a204387588beae065 (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
# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$

PORTNAME=	expect
PORTVERSION=	0.2.9
CATEGORIES=	devel pear
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	PECL

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	A PHP extension for expect library

LIB_DEPENDS=	expect543:${PORTSDIR}/lang/expect

LICENSE=	PHP301

USE_PHP=	yes
USE_PHPEXT=	yes

CONFIGURE_ARGS+=--with-expect=${LOCALBASE}

post-patch:
	@${REINPLACE_CMD} -e \
	  's/\(LIBRARY_WITH_PATH(\)expect/\1expect543/' \
	  ${WRKSRC}/config.m4

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