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

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

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

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

WRKSRC=		${WRKDIR}/php-${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>