make PKGNAMEPREFIX, IGNORE_WITH_PHP and DEFAULT_PHP_VER overridable to fix

the php4-imlib2 slave port and INDEX builds.
This commit is contained in:
Erwin Lansing 2006-09-27 07:03:00 +00:00
parent a3d1c8461e
commit d86c35321a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173948

View file

@ -9,7 +9,7 @@ PORTNAME= imlib2
PORTVERSION= 0.1.00
CATEGORIES= graphics
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= php5-
PKGNAMEPREFIX?= php5-
EXTRACT_SUFX= .tgz
MAINTAINER= leeym@FreeBSD.org
@ -19,8 +19,8 @@ LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2
USE_PHP= yes
USE_PHPEXT= yes
IGNORE_WITH_PHP=4
DEFAULT_PHP_VER=5
IGNORE_WITH_PHP?=4
DEFAULT_PHP_VER?=5
# libImlib2 may or may not depend on X, however,
# imlib2 extension doesn't need X related functions in libImlib2