Installing files with spaces in the middle

Alejandro Pulver alejandro at varnet.biz
Tue May 10 13:14:37 PDT 2005


On Tue, 10 May 2005 12:17:45 -0500
"Jeremy Messenger" <mezz7 at cox.net> wrote:

> On Mon, 09 May 2005 19:10:35 -0500, Alejandro Pulver  
> <alejandro at varnet.biz> 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


More information about the freebsd-ports mailing list