summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-04-21 11:23:38 +0000
committerrodent <rodent@pkgsrc.org>2013-04-21 11:23:38 +0000
commitf2329e005727f0e3675886cb779dfbcd21358cca (patch)
tree64b238fd471ed2d09b9f58a0395baef142135c1c
parent74dc5796da2279be31a438f77da2a1c81d449798 (diff)
downloadpkgsrc-f2329e005727f0e3675886cb779dfbcd21358cca.tar.gz
Update ctemplate to version 2.2. Add pthread in buildlink3.mk. Set self
as MAINTAINER, since I originally packaged this and no one seems to have cared to touch it since. The only dependency, mysql-workbench, builds fine with this version of ctemplate. Since version 0.99 (from ChangeLog): * Fixed several issues reported by G++ 4.7 * Added operator[] to TemplateDictionary * Added begin(), end(), data() and size() to TemplateString * Refactored code * Changed the 'official' ctemplate email in setup.py/etc * Rewrote docs to refer to Ctemplate, not Google Template * Renamed google-ctemplate.sln to ctemplate.sln * Changed copyright text to reflect Google's relinquished ownership * Make reloads always prefer files earlier on the search patch (ssas) * PORTING: Add a default BSWAP32, needed for AIX (csilvers) * Die at configure-time when g++ isn't installed * BUGFIX: removed #includes of non-installed headers from installed ones * BUGFIX: Make compile-test test against an install * BUGFIX: Dumpers were ignoring a tpl-string 'length' (csilvers) * BUGFIX: Add a needed $(top_srcdir) to Makefile.am * Replace 0x00-0x1F with space in xml_escape (alexvod) * Fix xml encoding to handle form-feed properly (ghurley) * DOCUMENTATION: Wer missing some docs in the tarball (csilvers) * BUILD: Update acx_pthread.m4 for nostdlib (Kacper) * BUGFIX: Make CreateSectionIterator check tpl-globals (williasr) * PORTING: Fix solaris build by getting rid of PATH_MAX (csilvers)
-rw-r--r--devel/ctemplate/Makefile8
-rw-r--r--devel/ctemplate/PLIST5
-rw-r--r--devel/ctemplate/buildlink3.mk4
-rw-r--r--devel/ctemplate/distinfo8
4 files changed, 15 insertions, 10 deletions
diff --git a/devel/ctemplate/Makefile b/devel/ctemplate/Makefile
index f3022a596e2..e536af1d8e6 100644
--- a/devel/ctemplate/Makefile
+++ b/devel/ctemplate/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2013/03/02 18:17:14 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2013/04/21 11:23:38 rodent Exp $
-DISTNAME= ctemplate-0.99
-PKGREVISION= 2
+DISTNAME= ctemplate-2.2
CATEGORIES= devel
MASTER_SITES= http://google-ctemplate.googlecode.com/files/
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://code.google.com/p/google-ctemplate/
COMMENT= Simple but powerful template language for C++
LICENSE= modified-bsd
@@ -20,4 +19,5 @@ PKGCONFIG_OVERRIDE+= libctemplate_nothreads.pc
PKGCONFIG_OVERRIDE_STAGE=post-build
REPLACE_PERL= src/template-converter
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ctemplate/PLIST b/devel/ctemplate/PLIST
index f5868855a06..3d96b5d31ce 100644
--- a/devel/ctemplate/PLIST
+++ b/devel/ctemplate/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/12 12:32:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/04/21 11:23:38 rodent Exp $
bin/diff_tpl_auto_escape
bin/make_tpl_varnames_h
bin/template-converter
include/ctemplate/per_expand_data.h
+include/ctemplate/str_ref.h
include/ctemplate/template.h
include/ctemplate/template_annotator.h
include/ctemplate/template_cache.h
@@ -28,7 +29,9 @@ share/doc/${PKGNAME}/README_windows.txt
share/doc/${PKGNAME}/auto_escape.html
share/doc/${PKGNAME}/designstyle.css
share/doc/${PKGNAME}/example.html
+share/doc/${PKGNAME}/guide.html
share/doc/${PKGNAME}/howto.html
share/doc/${PKGNAME}/index.html
+share/doc/${PKGNAME}/reference.html
share/doc/${PKGNAME}/tips.html
share/doc/${PKGNAME}/xss_resources.html
diff --git a/devel/ctemplate/buildlink3.mk b/devel/ctemplate/buildlink3.mk
index de44aedafcc..618e07b2dd9 100644
--- a/devel/ctemplate/buildlink3.mk
+++ b/devel/ctemplate/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/05/12 12:32:09 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2013/04/21 11:23:38 rodent Exp $
BUILDLINK_TREE+= ctemplate
@@ -7,6 +7,8 @@ CTEMPLATE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ctemplate+= ctemplate>=0.97
BUILDLINK_PKGSRCDIR.ctemplate?= ../../devel/ctemplate
+
+.include "../../mk/pthread.buildlink3.mk"
.endif # CTEMPLATE_BUILDLINK3_MK
BUILDLINK_TREE+= -ctemplate
diff --git a/devel/ctemplate/distinfo b/devel/ctemplate/distinfo
index 3728eb8473f..c55e7218db4 100644
--- a/devel/ctemplate/distinfo
+++ b/devel/ctemplate/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2013/03/02 18:17:14 joerg Exp $
+$NetBSD: distinfo,v 1.4 2013/04/21 11:23:38 rodent Exp $
-SHA1 (ctemplate-0.99.tar.gz) = 7fe974dfe90d35748564fa577f2c8be4b46f9663
-RMD160 (ctemplate-0.99.tar.gz) = b15cd6825d8f8ec841318ddb1b7afdadbc47931f
-Size (ctemplate-0.99.tar.gz) = 787831 bytes
+SHA1 (ctemplate-2.2.tar.gz) = b00a35291bc5c5bb8493a68bbf76d6a9cfa5c117
+RMD160 (ctemplate-2.2.tar.gz) = fb5cf475f47b9bd651d05418f5dc01c039b50070
+Size (ctemplate-2.2.tar.gz) = 889458 bytes
SHA1 (patch-src_ctemplate_template__string.h.in) = 55510338a7df8486e1f9502336c65fd06de2b4fc
SHA1 (patch-src_tests_template__regtest.cc) = 234fce61f0ebc72238276df21002dbe1397dbac2