summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv>2005-10-04 16:50:50 +0000
committertv <tv>2005-10-04 16:50:50 +0000
commit8361ad90444a553ef0a527dd55db6818589f9ed6 (patch)
treeb70f396c96c1531e5de095137425dc04db853509 /lang
parent7dec8a2bdfe15dc4777db17e5ed08890358a0263 (diff)
downloadpkgsrc-8361ad90444a553ef0a527dd55db6818589f9ed6.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"