Date: Thu, 24 Jan 2002 08:34:10 -0500 (EST) From: Trevor Johnson <trevor@jpj.net> To: David <ddavid_3@yahoo.com> Cc: ports@FreeBSD.ORG Subject: Re: Porting Problem Message-ID: <20020124083213.T27032-100000@blues.jpj.net> In-Reply-To: <20020124132317.1FFD444AA97@spitfire.velocet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello, Hi, David. > Under the docs dir there are multiple language dir's with all the Makefile*'s > above containing that chmod command, i know using "@${PERL} -pi -e 's#chmod > a+r+X -R#chmod -R a+r+X#g' ${WRKSRC}/bibletime/docs/(what ever file) > would change the command too get it working, but is it possible to get it too > recurse in that docs dir and change "all" the Makefile*'s, or, if not could > someone suggest another way of changing all the files at once from the port > Makefile? Here are a few lines from the alloywm port which do that sort of thing: ${FIND} ${WRKSRC} \( -name '*.in' -or -name configure \) -exec \ ${PERL} -pi -e 's:bash:sh:g ; \ s:gtk-config:${GTK_CONFIG}:g' {} \; -- Trevor Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020124083213.T27032-100000>