2005-04-10 00:41:10 +02:00
|
|
|
# New ports collection makefile for: pecl-statgrab
|
|
|
|
# Date created: 04 April 2005
|
|
|
|
# Whom: Tim Bishop <tim@bishnet.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= statgrab
|
2006-12-08 11:26:00 +01:00
|
|
|
PORTVERSION= 0.6.0
|
2005-04-10 00:41:10 +02:00
|
|
|
CATEGORIES= devel pear
|
|
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
|
|
PKGNAMEPREFIX= pecl-
|
|
|
|
DISTNAME= Statgrab-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= PECL
|
|
|
|
|
2005-12-01 17:50:07 +01:00
|
|
|
MAINTAINER= tdb@FreeBSD.org
|
2005-04-10 00:41:10 +02:00
|
|
|
COMMENT= A PECL extension to retrieve information from libstatgrab
|
|
|
|
|
2006-03-20 11:18:18 +01:00
|
|
|
LIB_DEPENDS= statgrab.8:${PORTSDIR}/devel/libstatgrab
|
2005-04-10 00:41:10 +02:00
|
|
|
|
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHPEXT= yes
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -ldevstat ${EXTRA_LIBS}
|
2005-04-10 00:41:10 +02:00
|
|
|
|
2005-10-19 13:27:51 +02:00
|
|
|
CONFIGURE_ARGS= --with-statgrab=${LOCALBASE}
|
|
|
|
|
2005-04-10 00:41:10 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-16 17:27:30 +02:00
|
|
|
.if ${PHP_VER} < 5
|
|
|
|
post-patch:
|
|
|
|
@${PATCH} -d ${WRKSRC} -p0 < ${FILESDIR}/php_statgrab.h.patch
|
|
|
|
.endif
|
|
|
|
|
2005-04-10 00:41:10 +02:00
|
|
|
.include <bsd.port.post.mk>
|