From owner-freebsd-ports@FreeBSD.ORG Thu Mar 31 23:16:29 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 988F3106564A for ; Thu, 31 Mar 2011 23:16:29 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7EC8FC12 for ; Thu, 31 Mar 2011 23:16:29 +0000 (UTC) Received: from [172.20.1.100] (unknown [172.20.1.100]) by u18-124.dslaccess.de (Postfix) with ESMTPSA id 96FD620798; Fri, 1 Apr 2011 01:16:24 +0200 (CEST) Message-ID: <4D950B63.90009@FreeBSD.org> Date: Fri, 01 Apr 2011 01:16:51 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Pan Tsu References: <86oc4rf0do.fsf@gmail.com> In-Reply-To: <86oc4rf0do.fsf@gmail.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, Chris Rees Subject: Re: [SOLVED] PORTDOCS strangeness X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 23:16:29 -0000 On 2011-03-31 23:25, Pan Tsu wrote: > Chris Rees writes: ... > + @${MKDIR} ${DOCSDIR} > + @${TAR} cf - -C${WRKSRC}/doc . | ${TAR} xof - -C${DOCSDIR} > Please use the preferred ${COPYTREE_SHARE} instead of ${TAR} -@${TAR} cf - -C${WRKSRC}/doc . | ${TAR} xof - -C${DOCSDIR} +@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})