freebsd-ports/databases/pecl-handlersocket/Makefile

27 lines
665 B
Makefile

# Created by: 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}
NO_STAGE= yes
.include <bsd.port.mk>