summaryrefslogtreecommitdiff
path: root/graphics/php-jpgraph
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-02 18:27:54 +0000
committerjoerg <joerg>2006-06-02 18:27:54 +0000
commit7fe8ce07cd12d22909180fe6f4c0bc28270c7451 (patch)
treeb7f585bd5e2d200a0004ced04920ab0be7a7445a /graphics/php-jpgraph
parentd32a89ecea4104ffee0189ee6fede1607b7ea878 (diff)
downloadpkgsrc-7fe8ce07cd12d22909180fe6f4c0bc28270c7451.tar.gz
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
Diffstat (limited to 'graphics/php-jpgraph')
-rw-r--r--graphics/php-jpgraph/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/php-jpgraph/Makefile b/graphics/php-jpgraph/Makefile
index 7c5ef9852e6..220ff1e9b72 100644
--- a/graphics/php-jpgraph/Makefile
+++ b/graphics/php-jpgraph/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2006/04/13 01:30:43 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2006/06/02 18:27:56 joerg Exp $
DISTNAME= jpgraph-1.18
-PKGNAME= php-${DISTNAME}
-PKGREVISION= 2
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= graphics www
MASTER_SITES= http://members.chello.se/jpgraph/jpgdownloads/
@@ -10,7 +9,9 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.aditus.nu/jpgraph/index.php
COMMENT= Object Oriented class library for PHP
-DEPENDS+= php-gd>=4.3.1:../../graphics/php-gd
+CONFLICTS= php-jgraph-[0-9]
+
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.1:../../graphics/php-gd
NO_CONFIGURE= YES
NO_BUILD= YES
@@ -52,4 +53,5 @@ do-install:
${FIND} ${PREFIX}/share/doc/php-jpgraph/html -type d | ${XARGS} \
${CHMOD} ${PKGDIRMODE}
+.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"