--- bsd.pear.mk.orig	2010-11-04 21:53:02.000000000 +0000
+++ bsd.pear.mk	2010-11-05 00:21:53.000000000 +0000
@@ -6,7 +6,11 @@
 		http://us.pear.php.net/get/ \
 		http://de.pear.php.net/get/
 PKGNAMEPREFIX=	pear-
+.if defined(PEAR_DIST_SUFX)
+EXTRACT_SUFX=	${PEAR_DIST_SUFX}
+.else
 EXTRACT_SUFX=	.tgz
+.endif
 DIST_SUBDIR=	PEAR
 
 RUN_DEPENDS+=	pear:${PORTSDIR}/devel/pear