# New ports collection makefile for: pecl-fileinfo # Date created: 21 Jul 2004 # Whom: Alex Dupre # # $FreeBSD: ports/sysutils/pecl-fileinfo/Makefile,v 1.8 2006/11/08 13:33:01 ale Exp $ # PORTNAME= fileinfo PORTVERSION= 1.0.4 CATEGORIES= sysutils pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DISTNAME= Fileinfo-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= ale@FreeBSD.org COMMENT= A PECL extension to retrieve info about files USE_PHP= yes USE_PHPEXT= yes .include .if ${OSVERSION} < 502128 LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file MAGICBASE= ${LOCALBASE} .else MAGICBASE= /usr .endif CONFIGURE_ARGS= --with-fileinfo=${MAGICBASE} .include