aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pecl-ctemplate
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2012-05-18 15:30:27 +0800
committervanilla <vanilla@FreeBSD.org>2012-05-18 15:30:27 +0800
commitb2f5ef72b5c48c0b6a68cae5e2ba1a53f9984ccb (patch)
treed7278c963a750d08b8b10a37497ac8133476e4f3 /textproc/pecl-ctemplate
parent9bf5121eb1b7e0367d8630262862606c850fad1d (diff)
downloadfreebsd-ports-gnome-b2f5ef72b5c48c0b6a68cae5e2ba1a53f9984ccb.tar.gz
freebsd-ports-gnome-b2f5ef72b5c48c0b6a68cae5e2ba1a53f9984ccb.tar.zst
freebsd-ports-gnome-b2f5ef72b5c48c0b6a68cae5e2ba1a53f9984ccb.zip
Upgrade to 1.11 for php5.4 compatible.
Diffstat (limited to 'textproc/pecl-ctemplate')
-rw-r--r--textproc/pecl-ctemplate/Makefile6
-rw-r--r--textproc/pecl-ctemplate/distinfo4
-rw-r--r--textproc/pecl-ctemplate/files/patch-cTemplate.cpp10
-rw-r--r--textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt15
4 files changed, 5 insertions, 30 deletions
diff --git a/textproc/pecl-ctemplate/Makefile b/textproc/pecl-ctemplate/Makefile
index c44f064c4938..d9eecaf62e61 100644
--- a/textproc/pecl-ctemplate/Makefile
+++ b/textproc/pecl-ctemplate/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= cTemplate
-PORTVERSION= 1.10
-PORTREVISION= 4
+PORTVERSION= 1.11
+PORTREVISION= 0
CATEGORIES= textproc pear
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= vanilla
@@ -19,7 +19,7 @@ COMMENT= A PECL extension for google ctemplate library
LIB_DEPENDS= ctemplate.2:${PORTSDIR}/textproc/google-ctemplate
-USE_BZIP2= yes
+USE_XZ= yes
USE_PHP= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER= 5
diff --git a/textproc/pecl-ctemplate/distinfo b/textproc/pecl-ctemplate/distinfo
index 47a41988d40e..fa1d353db432 100644
--- a/textproc/pecl-ctemplate/distinfo
+++ b/textproc/pecl-ctemplate/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PECL/cTemplate-1.10.tar.bz2) = 4a3cc8b1c45d7d7dae0c00b7689b75662dc5cedf57977f77623df3f171a9d04b
-SIZE (PECL/cTemplate-1.10.tar.bz2) = 13211
+SHA256 (PECL/cTemplate-1.11.tar.xz) = 79f116802af2259b7983914d4102ef072e8d96cfb94cd9bfe1dc25d4cb8dedc3
+SIZE (PECL/cTemplate-1.11.tar.xz) = 11444
diff --git a/textproc/pecl-ctemplate/files/patch-cTemplate.cpp b/textproc/pecl-ctemplate/files/patch-cTemplate.cpp
deleted file mode 100644
index dd138e6473a1..000000000000
--- a/textproc/pecl-ctemplate/files/patch-cTemplate.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- cTemplate.cpp.orig 2010-04-21 15:54:07.000000000 +0800
-+++ cTemplate.cpp 2010-04-21 15:54:14.000000000 +0800
-@@ -171,7 +171,6 @@ PHP_MINIT_FUNCTION(cTemplate)
- REGISTER_LONG_CONSTANT ("TS_EMPTY", TS_EMPTY, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT ("TS_ERROR", TS_ERROR, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT ("TS_READY", TS_READY, CONST_CS | CONST_PERSISTENT);
-- REGISTER_LONG_CONSTANT ("TS_SHOULD_RELOAD", TS_SHOULD_RELOAD, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT ("TC_HTML", TC_HTML, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT ("TC_JS", TC_JS, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT ("TC_CSS", TC_CSS, CONST_CS | CONST_PERSISTENT);
diff --git a/textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt b/textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt
deleted file mode 100644
index 63813321348b..000000000000
--- a/textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt
+++ /dev/null
@@ -1,15 +0,0 @@
---- tests/template_WriteHeaderEntries.phpt.orig 2011-09-05 11:27:46.000000000 +0800
-+++ tests/template_WriteHeaderEntries.phpt 2011-09-05 11:28:15.000000000 +0800
-@@ -10,8 +10,8 @@ echo $tpl->WriteHeaderEntries();
- ===DONE===
- --EXPECTF--
- #include <ctemplate/template_string.h>
--static const StaticTemplateString ke_NAME = STS_INIT_WITH_HASH(ke_NAME, "NAME", 11433977280339851189LLU);
--static const StaticTemplateString ke_VALUE = STS_INIT_WITH_HASH(ke_VALUE, "VALUE", 3571384048577261229LLU);
--static const StaticTemplateString ke_IN_CA = STS_INIT_WITH_HASH(ke_IN_CA, "IN_CA", 15931064057564334051LLU);
--static const StaticTemplateString ke_TAXED_VALUE = STS_INIT_WITH_HASH(ke_TAXED_VALUE, "TAXED_VALUE", 10685086013714446631LLU);
-+static const ::ctemplate::StaticTemplateString ke_NAME = STS_INIT_WITH_HASH(ke_NAME, "NAME", 11433977280339851189LLU);
-+static const ::ctemplate::StaticTemplateString ke_VALUE = STS_INIT_WITH_HASH(ke_VALUE, "VALUE", 3571384048577261229LLU);
-+static const ::ctemplate::StaticTemplateString ke_IN_CA = STS_INIT_WITH_HASH(ke_IN_CA, "IN_CA", 15931064057564334051LLU);
-+static const ::ctemplate::StaticTemplateString ke_TAXED_VALUE = STS_INIT_WITH_HASH(ke_TAXED_VALUE, "TAXED_VALUE", 10685086013714446631LLU);
- ===DONE===