From owner-svn-ports-head@FreeBSD.ORG Sat Sep 14 06:48:03 2013 Return-Path: Delivered-To: svn-ports-head@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 86102F7E; Sat, 14 Sep 2013 06:48:03 +0000 (UTC) (envelope-from sunpoet@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 5A081255E; Sat, 14 Sep 2013 06:48:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8E6m3BS010195; Sat, 14 Sep 2013 06:48:03 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8E6m33u010190; Sat, 14 Sep 2013 06:48:03 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201309140648.r8E6m33u010190@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 14 Sep 2013 06:48:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327222 - head/textproc/asciidoc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2013 06:48:03 -0000 Author: sunpoet Date: Sat Sep 14 06:48:02 2013 New Revision: 327222 URL: http://svnweb.freebsd.org/changeset/ports/327222 Log: - Fix PLIST - Cosmetic change Modified: head/textproc/asciidoc/Makefile head/textproc/asciidoc/pkg-plist Modified: head/textproc/asciidoc/Makefile ============================================================================== --- head/textproc/asciidoc/Makefile Sat Sep 14 06:39:51 2013 (r327221) +++ head/textproc/asciidoc/Makefile Sat Sep 14 06:48:02 2013 (r327222) @@ -25,7 +25,7 @@ USES= gmake MAN1= a2x.1 asciidoc.1 -CONFFILES= asciidoc.conf docbook45.conf \ +CONF_FILES= asciidoc.conf docbook45.conf \ filters/code/code-filter.conf \ filters/graphviz/graphviz-filter.conf \ filters/latex/latex-filter.conf \ @@ -49,8 +49,8 @@ PLIST_SUB+= VIM="@comment " VIM_DATADIR= .endif post-patch: -.for f in ${CONFFILES} - @cd ${WRKSRC} && ${MV} ${f} ${f}.sample +.for conf_file in ${CONF_FILES} + @cd ${WRKSRC} && ${MV} ${conf_file} ${conf_file}.sample .endfor .if ${PORT_OPTIONS:MVIM} @${REINPLACE_CMD} -e '/^vimdir = /d' ${WRKSRC}/Makefile.in @@ -62,9 +62,9 @@ pre-install: .endif post-install: -.for f in ${CONFFILES} - @if [ ! -f ${ETCDIR}/${f} ]; then \ - ${CP} -p ${ETCDIR}/${f}.sample ${ETCDIR}/${f} ; \ +.for conf_file in ${CONF_FILES} + @if [ ! -f ${ETCDIR}/${conf_file} ]; then \ + ${CP} -p ${ETCDIR}/${conf_file}.sample ${ETCDIR}/${conf_file} ; \ fi .endfor Modified: head/textproc/asciidoc/pkg-plist ============================================================================== --- head/textproc/asciidoc/pkg-plist Sat Sep 14 06:39:51 2013 (r327221) +++ head/textproc/asciidoc/pkg-plist Sat Sep 14 06:48:02 2013 (r327222) @@ -131,8 +131,8 @@ bin/asciidoc.py %%ETCDIR%%/wordpress.conf.sample @exec if [ ! -f %D/%%ETCDIR%%/wordpress.conf ] ; then cp -p %D/%F %B/wordpress.conf; fi @unexec if cmp -s %D/%%ETCDIR%%/xhtml11.conf.sample %D/%%ETCDIR%%/xhtml11.conf; then rm -f %D/%%ETCDIR%%/xhtml11.conf; fi -@exec if [ ! -f %D/%%ETCDIR%%/xhtml11.conf ] ; then cp -p %D/%F %B/xhtml11.conf; fi %%ETCDIR%%/xhtml11.conf.sample +@exec if [ ! -f %D/%%ETCDIR%%/xhtml11.conf ] ; then cp -p %D/%F %B/xhtml11.conf; fi @unexec if cmp -s %D/%%ETCDIR%%/xhtml11-quirks.conf.sample %D/%%ETCDIR%%/xhtml11-quirks.conf; then rm -f %D/%%ETCDIR%%/xhtml11-quirks.conf; fi %%ETCDIR%%/xhtml11-quirks.conf.sample @exec if [ ! -f %D/%%ETCDIR%%/xhtml11-quirks.conf ] ; then cp -p %D/%F %B/xhtml11-quirks.conf; fi