diff options
Diffstat (limited to 'devel/pear/bsd.pear.channel.mk')
-rw-r--r-- | devel/pear/bsd.pear.channel.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/pear/bsd.pear.channel.mk b/devel/pear/bsd.pear.channel.mk index 1fa97ada6620..01acf9b3c832 100644 --- a/devel/pear/bsd.pear.channel.mk +++ b/devel/pear/bsd.pear.channel.mk @@ -2,20 +2,22 @@ # # Common code for PEAR channels -PKGNAMEPREFIX?= pear-channel- +PKGNAMEPREFIX?= ${PEAR_PKGNAMEPREFIX}channel- MASTER_SITES?= #no master sites DISTFILES?= #no distfiles -BUILD_DEPENDS?= ${LOCALBASE}/bin/pear:devel/pear -RUN_DEPENDS?= ${LOCALBASE}/bin/pear:devel/pear +USES+= pear:env + +BUILD_DEPENDS?= ${LOCALBASE}/bin/pear:devel/pear@${PHP_FLAVOR} +RUN_DEPENDS?= ${LOCALBASE}/bin/pear:devel/pear@${PHP_FLAVOR} NO_BUILD?= yes LPEARDIR?= share/pear PEAR_CHANNEL_ALIAS?= ${PORTNAME} -PEAR_CHANNEL_REG?= ${FILESDIR}/${PEAR_CHANNEL_HOST}.reg +PEAR_CHANNEL_REG?= ${.CURDIR}/files/${PEAR_CHANNEL_HOST}.reg PLIST_FILES= ${LPEARDIR}/.channels/.alias/${PEAR_CHANNEL_ALIAS}.txt \ ${LPEARDIR}/.channels/${PEAR_CHANNEL_HOST}.reg |