Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 16:23:36 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r331685 - head/textproc/asciidoc
Message-ID:  <20131026162336.018e6e89@kalimero.tijl.coosemans.org>
In-Reply-To: <201310261327.r9QDR71V076039@svn.freebsd.org>
References:  <201310261327.r9QDR71V076039@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Oct 2013 13:27:07 +0000 (UTC) Sunpoet Po-Chuan Hsieh wrote:
> Author: sunpoet
> Date: Sat Oct 26 13:27:07 2013
> New Revision: 331685
> URL: http://svnweb.freebsd.org/changeset/ports/331685
> 
> Log:
>   - Cosmetic change
> 
> Modified:
>   head/textproc/asciidoc/Makefile
>   head/textproc/asciidoc/pkg-plist
> 
> Modified: head/textproc/asciidoc/Makefile
> ==============================================================================
> --- head/textproc/asciidoc/Makefile	Sat Oct 26 13:22:50 2013	(r331684)
> +++ head/textproc/asciidoc/Makefile	Sat Oct 26 13:27:07 2013	(r331685)
> @@ -49,7 +49,7 @@ PLIST_SUB+=	VIM_DATADIR=""
>  
>  post-patch:
>  .for conf_file in ${CONF_FILES}
> -	@cd ${WRKSRC} && ${MV} ${conf_file} ${conf_file}.sample
> +	@cd ${WRKSRC}/ && ${MV} ${conf_file} ${conf_file}.sample
>  .endfor
>  .if ${PORT_OPTIONS:MVIM}
>  	@${REINPLACE_CMD} -e '/^vimdir = /d' ${WRKSRC}/Makefile.in
> @@ -63,7 +63,7 @@ pre-install:
>  post-install:
>  .for conf_file in ${CONF_FILES}
>  	@if [ ! -f ${ETCDIR}/${conf_file} ]; then \
> -		${CP} -p ${STAGEDIR}${ETCDIR}/${conf_file}.sample ${STAGEDIR}${ETCDIR}/${conf_file} ; \
> +		${CP} -p ${STAGEDIR}${ETCDIR}/${conf_file}.sample ${STAGEDIR}${ETCDIR}/${conf_file}; \
>  	fi
>  .endfor

I think you can remove this CP.  With staging this is handled by pkg-plist.



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