freebsd-ports/sysutils/pecl-fileinfo/Makefile
2005-11-07 13:36:30 +00:00

35 lines
691 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
PORTREVISION= 1
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>