blob: f1a266cb8bd3bb482b4722470ac8b067d78168a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# New ports collection makefile for: pecl-fileinfo
# Date created: 21 Jul 2004
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fileinfo
PORTVERSION= 0.2
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>
|