Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2015 02:19:14 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398195 - in head: . textproc textproc/ctemplate textproc/google-ctemplate
Message-ID:  <201509300219.t8U2JEsp008657@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Sep 30 02:19:14 2015
New Revision: 398195
URL: https://svnweb.freebsd.org/changeset/ports/398195

Log:
  1: Rename google-ctemplate to ctemplate.
  2: Upgrade to 2.3.
  3: move to github.

Added:
  head/textproc/ctemplate/
     - copied from r398194, head/textproc/google-ctemplate/
Deleted:
  head/textproc/google-ctemplate/
Modified:
  head/MOVED
  head/textproc/Makefile
  head/textproc/ctemplate/Makefile
  head/textproc/ctemplate/distinfo
  head/textproc/ctemplate/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Sep 30 01:06:59 2015	(r398194)
+++ head/MOVED	Wed Sep 30 02:19:14 2015	(r398195)
@@ -7888,3 +7888,4 @@ chinese/joe|editors/joe|2015-09-26|Regul
 net/linc||2015-09-27|Has expired: Last release in 2003, not used by anything anymore.
 net/linc-reference||2015-09-27|Has expired: Last release in 2003, not used by anything anymore.
 x11/xlogout||2015-09-27|Has expired: Useless cruft from 1989
+textproc/google-ctemplate|textproc/ctemplate|2015-09-29|Renamed

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Wed Sep 30 01:06:59 2015	(r398194)
+++ head/textproc/Makefile	Wed Sep 30 02:19:14 2015	(r398195)
@@ -96,6 +96,7 @@
     SUBDIR += csb-aspell
     SUBDIR += csv2latex
     SUBDIR += csvdiff
+    SUBDIR += ctemplate
     SUBDIR += ctpl
     SUBDIR += ctpp2
     SUBDIR += cwtext
@@ -215,7 +216,6 @@
     SUBDIR += go-text
     SUBDIR += go.text
     SUBDIR += goldendict
-    SUBDIR += google-ctemplate
     SUBDIR += google-translate-cli
     SUBDIR += gpp
     SUBDIR += grap

Modified: head/textproc/ctemplate/Makefile
==============================================================================
--- head/textproc/google-ctemplate/Makefile	Wed Sep 30 01:06:59 2015	(r398194)
+++ head/textproc/ctemplate/Makefile	Wed Sep 30 02:19:14 2015	(r398195)
@@ -1,24 +1,28 @@
 # Created by: ijliao
 # $FreeBSD$
 
-PORTNAME=	google-ctemplate
-PORTVERSION=	2.2
-PORTREVISION=	3
+PORTNAME=	ctemplate
+PORTVERSION=	2.3
 CATEGORIES=	textproc
-MASTER_SITES=	GOOGLE_CODE
-PROJECTHOST=	ctemplate
-DISTNAME=	ctemplate-${PORTVERSION}
 
 MAINTAINER=	vanilla@FreeBSD.org
 COMMENT=	Simple but powerful template language for C++
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 OPTIONS_DEFINE=	DOCS
 
-USES=		libtool pathfix pkgconfig shebangfix
+USES=		libtool pathfix pkgconfig python shebangfix
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-silent-rules
-SHEBANG_FILES=	src/template-converter
+SHEBANG_FILES=	src/template-converter src/htmlparser/generate_fsm.py src/htmlparser/fsm_config.py
 USE_LDCONFIG=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	OlafvdSpek
+GH_TAGNAME=	359a9f0
+python_OLD_CMD=	/usr/bin/env python
+INSTALL_target=	install-strip
 
 post-patch:
 	@${REINPLACE_CMD} -e \
@@ -33,6 +37,10 @@ post-patch-DOCS-off:
 		'/install-data-am/ s|install-dist_docDATA||' \
 		${WRKSRC}/Makefile.in
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libctemplate.so.3.0.0
+	@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libctemplate_nothreads.so.3.0.0
+
 regression-test: build
 	@${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \
 		${MAKE_ARGS} check -C ${WRKSRC}

Modified: head/textproc/ctemplate/distinfo
==============================================================================
--- head/textproc/google-ctemplate/distinfo	Wed Sep 30 01:06:59 2015	(r398194)
+++ head/textproc/ctemplate/distinfo	Wed Sep 30 02:19:14 2015	(r398195)
@@ -1,2 +1,2 @@
-SHA256 (ctemplate-2.2.tar.gz) = 04f3cbc0f7ff36adedc904bce776a0817cc6b704b3c4a04b4df5de66fd7e686f
-SIZE (ctemplate-2.2.tar.gz) = 889458
+SHA256 (OlafvdSpek-ctemplate-2.3-359a9f0_GH0.tar.gz) = a93983b5cd68eac296303f5557a6b075ca36be46d1b4dff17e48ca640db39b92
+SIZE (OlafvdSpek-ctemplate-2.3-359a9f0_GH0.tar.gz) = 720754

Modified: head/textproc/ctemplate/pkg-plist
==============================================================================
--- head/textproc/google-ctemplate/pkg-plist	Wed Sep 30 01:06:59 2015	(r398194)
+++ head/textproc/ctemplate/pkg-plist	Wed Sep 30 02:19:14 2015	(r398195)
@@ -16,12 +16,12 @@ include/ctemplate/template_pathops.h
 include/ctemplate/template_string.h
 lib/libctemplate.a
 lib/libctemplate.so
-lib/libctemplate.so.2
-lib/libctemplate.so.2.0.1
+lib/libctemplate.so.3
+lib/libctemplate.so.3.0.0
 lib/libctemplate_nothreads.a
 lib/libctemplate_nothreads.so
-lib/libctemplate_nothreads.so.2
-lib/libctemplate_nothreads.so.2.0.1
+lib/libctemplate_nothreads.so.3
+lib/libctemplate_nothreads.so.3.0.0
 libdata/pkgconfig/libctemplate.pc
 libdata/pkgconfig/libctemplate_nothreads.pc
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509300219.t8U2JEsp008657>