aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pecl-expect/Makefile
blob: 6be2e4e97225b41a7dd94c7eae22cdc026f00344 (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
# New ports collection makefile for:    pecl-expect
# Date created:         2006/08/17
# Whom:             chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   expect
PORTVERSION=    0.2.5
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

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>