From 3edfadf234e3c9547eb8877865b4f87feb623125 Mon Sep 17 00:00:00 2001
From: "Vanilla I. Shu" <vanilla@FreeBSD.org>
Date: Wed, 25 Feb 2015 07:57:28 +0000
Subject: [PATCH] 1: add LICENSE/LICENSE_FILE. 2: remove DEFAULT_PHP_VER. 3:
 switch to USES=tar:tgz

---
 textproc/pecl-xdiff/Makefile    | 2 +-
 textproc/pecl-xslcache/Makefile | 7 ++++---
 textproc/pecl-yaml/Makefile     | 5 ++++-
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/textproc/pecl-xdiff/Makefile b/textproc/pecl-xdiff/Makefile
index 22435bf60c92..6c47baf7a248 100644
--- a/textproc/pecl-xdiff/Makefile
+++ b/textproc/pecl-xdiff/Makefile
@@ -6,7 +6,6 @@ PORTVERSION=	1.5.2
 CATEGORIES=	textproc pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
-EXTRACT_SUFX=	.tgz
 DIST_SUBDIR=	PECL
 
 MAINTAINER=	ports@FreeBSD.org
@@ -16,6 +15,7 @@ LICENSE=	PHP301
 
 LIB_DEPENDS=	libxdiff.so:${PORTSDIR}/textproc/libxdiff
 
+USES=		tar:tgz
 USE_PHP=	yes
 USE_PHPEXT=	yes
 
diff --git a/textproc/pecl-xslcache/Makefile b/textproc/pecl-xslcache/Makefile
index 11303b1d68a0..f1d150ce8ba9 100644
--- a/textproc/pecl-xslcache/Makefile
+++ b/textproc/pecl-xslcache/Makefile
@@ -7,15 +7,16 @@ CATEGORIES=	textproc pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
 DIST_SUBDIR=	PECL
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Caches the parsed XSL stylesheet between sessions
 
+LICENSE=	PHP301
+
+USES=		tar:tgz
 USE_PHP=	dom xml xsl
 USE_PHP_BUILD=	yes
 USE_PHPEXT=	yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5
+IGNORE_WITH_PHP=	5
 
 .include <bsd.port.mk>
diff --git a/textproc/pecl-yaml/Makefile b/textproc/pecl-yaml/Makefile
index 969efa7a055a..79626ad471a5 100644
--- a/textproc/pecl-yaml/Makefile
+++ b/textproc/pecl-yaml/Makefile
@@ -6,14 +6,17 @@ PORTVERSION=	1.1.1
 CATEGORIES=	textproc pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
-EXTRACT_SUFX=	.tgz
 DIST_SUBDIR=	PECL
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	YAML-1.1 parser and emitter
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 LIB_DEPENDS=	libyaml.so:${PORTSDIR}/textproc/libyaml
 
+USES=		tar:tgz
 USE_PHP=	yes
 USE_PHP_BUILD=	yes
 USE_PHPEXT=	yes