From d1e060d11b366c86ab049254be9f22b6bbdf48ba Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 28 Jun 2016 14:00:45 +0000 Subject: Convert USE_PHP*=yes into USES=php* PR: 210529 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6936 --- mail/mlmmj/Makefile | 3 +-- mail/pecl-esmtp/Makefile | 4 +--- mail/pecl-mailparse/Makefile | 8 ++------ mail/pecl-pop3/Makefile | 6 +----- mail/phpmailer/Makefile | 3 +-- 5 files changed, 6 insertions(+), 18 deletions(-) (limited to 'mail') diff --git a/mail/mlmmj/Makefile b/mail/mlmmj/Makefile index dedbe410cbd..d7de167c1a6 100644 --- a/mail/mlmmj/Makefile +++ b/mail/mlmmj/Makefile @@ -25,8 +25,7 @@ OPTIONS_SUB= yes PERL_RUN_DEPENDS= p5-URI>0:net/p5-URI \ p5-CGI-FastTemplate>0:www/p5-CGI-FastTemplate \ p5-HTML-Parser>0:www/p5-HTML-Parser -PHP_USE= php=yes -PHP_VERS= WANT_PHP_WEB=yes +PHP_USES= php:web post-patch: @${REINPLACE_CMD} -e \ diff --git a/mail/pecl-esmtp/Makefile b/mail/pecl-esmtp/Makefile index d8ba6b0350f..237b415e3d5 100644 --- a/mail/pecl-esmtp/Makefile +++ b/mail/pecl-esmtp/Makefile @@ -16,9 +16,7 @@ LICENSE= PHP30 LIB_DEPENDS= libesmtp.so:mail/libesmtp -USES= tar:tgz -USE_PHP= yes -USE_PHPEXT= yes +USES= php:ext tar:tgz IGNORE_WITH_PHP= 56 70 OPTIONS_DEFINE= RE2C diff --git a/mail/pecl-mailparse/Makefile b/mail/pecl-mailparse/Makefile index c22db6f3052..fc514a46adb 100644 --- a/mail/pecl-mailparse/Makefile +++ b/mail/pecl-mailparse/Makefile @@ -15,12 +15,8 @@ LICENSE= PHP202 BROKEN_powerpc64= Does not build -USES= tar:tgz -USE_PHP= mbstring -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= mailparse +USES= php:ext tar:tgz +USE_PHP= mbstring:build IGNORE_WITH_PHP= 70 .include diff --git a/mail/pecl-pop3/Makefile b/mail/pecl-pop3/Makefile index b5f7d77985b..e9f6a2b0a4d 100644 --- a/mail/pecl-pop3/Makefile +++ b/mail/pecl-pop3/Makefile @@ -12,11 +12,7 @@ DIST_SUBDIR= PECL MAINTAINER= buganini@gmail.com COMMENT= POP3 Client Library for PHP -USE_PHP= yes -USE_PHPIZE= yes -USE_PHP_BUILD= yes -USE_PHPEXT= yes -PHP_MODNAME= pop3 +USES= php:ext IGNORE_WITH_PHP= 70 .include diff --git a/mail/phpmailer/Makefile b/mail/phpmailer/Makefile index f52f7dd97fd..1f242b543cb 100644 --- a/mail/phpmailer/Makefile +++ b/mail/phpmailer/Makefile @@ -18,8 +18,7 @@ GH_PROJECT= PHPMailer NO_BUILD= yes NO_ARCH= yes -USE_PHP= yes -USES= dos2unix +USES= dos2unix php SUB_FILES= pkg-message -- cgit