aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/php4-imlib2/Makefile2
-rw-r--r--graphics/php5-imlib2/Makefile5
2 files changed, 5 insertions, 2 deletions
diff --git a/graphics/php4-imlib2/Makefile b/graphics/php4-imlib2/Makefile
index a6ab2d09cb72..e887c91a7638 100644
--- a/graphics/php4-imlib2/Makefile
+++ b/graphics/php4-imlib2/Makefile
@@ -6,9 +6,11 @@
#
CATEGORIES= graphics
+PKGNAMEPREFIX= php4-
MASTERDIR= ${.CURDIR}/../../graphics/php5-imlib2
+IGNORE_WITH_PHP=5
DEFAULT_PHP_VER=4
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/php5-imlib2/Makefile b/graphics/php5-imlib2/Makefile
index b7ed2e504b79..742b75f7a90c 100644
--- a/graphics/php5-imlib2/Makefile
+++ b/graphics/php5-imlib2/Makefile
@@ -9,7 +9,7 @@ PORTNAME= imlib2
PORTVERSION= 0.1.00
CATEGORIES= graphics
MASTER_SITES= http://pecl.php.net/get/
-PKGNAMEPREFIX= php${PHP_VER}-
+PKGNAMEPREFIX= php5-
EXTRACT_SUFX= .tgz
MAINTAINER= leeym@FreeBSD.org
@@ -19,7 +19,8 @@ LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2
USE_PHP= yes
USE_PHPEXT= yes
-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