From owner-svn-ports-all@FreeBSD.ORG Wed Sep 25 01:35:24 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 15A403FF; Wed, 25 Sep 2013 01:35:24 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DEA1F2B28; Wed, 25 Sep 2013 01:35:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8P1ZNtd098980; Wed, 25 Sep 2013 01:35:23 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8P1ZN0s098977; Wed, 25 Sep 2013 01:35:23 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201309250135.r8P1ZN0s098977@svn.freebsd.org> From: "Vanilla I. Shu" Date: Wed, 25 Sep 2013 01:35:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328232 - head/textproc/google-ctemplate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 01:35:24 -0000 Author: vanilla Date: Wed Sep 25 01:35:23 2013 New Revision: 328232 URL: http://svnweb.freebsd.org/changeset/ports/328232 Log: Support stage. Modified: head/textproc/google-ctemplate/Makefile head/textproc/google-ctemplate/pkg-plist Modified: head/textproc/google-ctemplate/Makefile ============================================================================== --- head/textproc/google-ctemplate/Makefile Wed Sep 25 01:29:24 2013 (r328231) +++ head/textproc/google-ctemplate/Makefile Wed Sep 25 01:35:23 2013 (r328232) @@ -11,23 +11,21 @@ DISTNAME= ctemplate-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org COMMENT= A simple but powerful template language for C++ +OPTIONS_DEFINE= DOCS + GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= pkgconfig -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif +.include post-patch: - ${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ + @${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in - -.if !defined(NOPORTDOCS) @${REINPLACE_CMD} -e \ 's|$$(prefix)/share/doc/$$(PACKAGE)-$$(VERSION)|${DOCSDIR}|' \ ${WRKSRC}/Makefile.in -.else +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e \ '/install-data-am/ s|install-dist_docDATA||' \ ${WRKSRC}/Makefile.in Modified: head/textproc/google-ctemplate/pkg-plist ============================================================================== --- head/textproc/google-ctemplate/pkg-plist Wed Sep 25 01:29:24 2013 (r328231) +++ head/textproc/google-ctemplate/pkg-plist Wed Sep 25 01:35:23 2013 (r328232) @@ -8,8 +8,8 @@ include/ctemplate/template_annotator.h include/ctemplate/template_cache.h include/ctemplate/template_dictionary.h include/ctemplate/template_dictionary_interface.h -include/ctemplate/template_enums.h include/ctemplate/template_emitter.h +include/ctemplate/template_enums.h include/ctemplate/template_modifiers.h include/ctemplate/template_namelist.h include/ctemplate/template_pathops.h @@ -24,4 +24,21 @@ lib/libctemplate_nothreads.so lib/libctemplate_nothreads.so.2 libdata/pkgconfig/libctemplate.pc libdata/pkgconfig/libctemplate_nothreads.pc +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README_windows.txt +%%PORTDOCS%%%%DOCSDIR%%/auto_escape.html +%%PORTDOCS%%%%DOCSDIR%%/designstyle.css +%%PORTDOCS%%%%DOCSDIR%%/example.html +%%PORTDOCS%%%%DOCSDIR%%/guide.html +%%PORTDOCS%%%%DOCSDIR%%/howto.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/reference.html +%%PORTDOCS%%%%DOCSDIR%%/tips.html +%%PORTDOCS%%%%DOCSDIR%%/xss_resources.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/ctemplate