aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pecl-handlersocket/Makefile
blob: d915465a88e2dfb482ee5ad2dd5f8132940c10f7 (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
# New ports collection makefile for:    pecl-handlersocket
# Date created:             Dec 16 2010
# Whom:                 jnlin@csie.nctu.edu.tw
#
# $FreeBSD$
#

PORTNAME=   handlersocket
PORTVERSION=    0.3.1
CATEGORIES= databases pear
MASTER_SITES=   http://php-handlersocket.googlecode.com/files/
PKGNAMEPREFIX=  pecl-
DISTNAME=   php-${PORTNAME}-${PORTVERSION}
DISTFILES=  php-handelrsocket-0.3.1${EXTRACT_SUFX}

MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT=    A PECL extension for HandlerSocket

BUILD_DEPENDS=  libhsclient>0:${PORTSDIR}/databases/libhsclient

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_PHP=    yes
USE_PHPEXT= yes

CONFIGURE_ARGS= --with-handlersocket=${LOCALBASE}
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib ${EXTRA_LIBS}

.include <bsd.port.mk>