freebsd-ports/sysutils/pecl-fileinfo/Makefile
Alex Dupre 4371c5e18d Update to 1.0.4 release.
PR:		ports/105287
Submitted by:	Alexander Zhuravlev <zaa@zaa.pp.ru>
2006-11-08 13:33:01 +00:00

34 lines
678 B
Makefile

# New ports collection makefile for: pecl-fileinfo
# Date created: 21 Jul 2004
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
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 <bsd.port.pre.mk>
.if ${OSVERSION} < 502128
LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file
MAGICBASE= ${LOCALBASE}
.else
MAGICBASE= /usr
.endif
CONFIGURE_ARGS= --with-fileinfo=${MAGICBASE}
.include <bsd.port.post.mk>