From owner-freebsd-ports@FreeBSD.ORG Tue May 10 20:14:37 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E36F16A4CE for ; Tue, 10 May 2005 20:14:37 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C998843D5E for ; Tue, 10 May 2005 20:14:36 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 10065 invoked from network); 10 May 2005 20:14:35 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 10 May 2005 20:14:35 -0000 X-pair-Authenticated: 200.115.214.28 Date: Tue, 10 May 2005 17:15:49 -0300 From: Alejandro Pulver To: "Jeremy Messenger" Message-ID: <20050510171549.1c1a1fc6@ale.varnet.bsd> In-Reply-To: References: <20050509211035.1e98b877@ale.varnet.bsd> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: Installing files with spaces in the middle X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 20:14:37 -0000 On Tue, 10 May 2005 12:17:45 -0500 "Jeremy Messenger" wrote: > On Mon, 09 May 2005 19:10:35 -0500, Alejandro Pulver > wrote: > > > Hello, > > > > I am making a port that has documentation files with spaces in the > > middle: "ET logo.gif", "ET logos_7B.gif" and "ET logos_7c.gif". > > > > They are refered by links in other HTML documents, so I can not > > rename them (or I will have to patch/reinplace the HTML files). > > > > I am using a for loop and 'make' sees them as separate elements: > > > > .for IMAGES in 3by3.gif ATVIsmall.jpg ET logo.gif ET logos_7B.gif \ > > ET logos_7c.jpg GM_Color_small.jpg id_logo_small.jpg \ > > nerve_logo_small.jpg redstripe.jpg \ > > rtcw_logo_480banner_elite.jpg rtcw_logo_small.jpg \ > > sd_logo.JPG wolf_bg.gif > > ${INSTALL_DATA} ${WRKSRC}/Docs/Help/images/${IMAGES} \ > > ${PREFIX}/${ETDIR}/Docs/Help/images > > .endfor > > > > Is there a way to install these files (escaping the " ")? > > Do you need the loop? Are all images in ${WRKSRC}/Docs/Help/images/ > going to be installed? If yes, then how about use the wildcat like > this? > > ${INSTALL_DATA} ${WRKSRC}/Docs/Help/images/* > ${PREFIX}/${ETDIR}/Docs/Help/images/ > > If it's select images to be install, then I am not sure how to do with > > space bar. > > Cheers, > Mezz Hello, Thank you for your suggestion. Best Regards, Ale