summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-10-04 16:50:50 +0000
committertv <tv@pkgsrc.org>2005-10-04 16:50:50 +0000
commit8a957173eb98e653fb7fe8d7f74b7c6dbe040605 (patch)
treeb70f396c96c1531e5de095137425dc04db853509 /lang
parent72e799250d0d12eb4c19b4a078b4c675e50b115f (diff)
downloadpkgsrc-8a957173eb98e653fb7fe8d7f74b7c6dbe040605.tar.gz
PECL modules have a real homepage. Set the default for PECL modules to
the PECL distro site rather than PHP's default. Bump PKGREVISION, as the HOMEPAGE is included in the binary package's +DESC.
Diffstat (limited to 'lang')
-rw-r--r--lang/php/ext.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk
index 2fb64d84282..8f9ca53d323 100644
--- a/lang/php/ext.mk
+++ b/lang/php/ext.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.9 2005/09/20 10:56:38 abs Exp $
+# $NetBSD: ext.mk,v 1.10 2005/10/04 16:50:50 tv Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@@ -9,6 +9,10 @@
.if !defined(PHPEXT_MK)
PHPEXT_MK= defined
+.if defined(PECL_VERSION)
+HOMEPAGE?= http://pecl.php.net/package/${MODNAME}
+.endif
+
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/Makefile.common"