From owner-freebsd-ports Thu Jan 24 5:34:15 2002 Delivered-To: freebsd-ports@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.6]) by hub.freebsd.org (Postfix) with ESMTP id E32D337B400 for ; Thu, 24 Jan 2002 05:34:12 -0800 (PST) Received: from localhost (trevor@localhost) by blues.jpj.net (8.11.6/8.11.6) with ESMTP id g0ODYBw07485; Thu, 24 Jan 2002 08:34:11 -0500 (EST) Date: Thu, 24 Jan 2002 08:34:10 -0500 (EST) From: Trevor Johnson To: David Cc: ports@FreeBSD.ORG Subject: Re: Porting Problem In-Reply-To: <20020124132317.1FFD444AA97@spitfire.velocet.net> Message-ID: <20020124083213.T27032-100000@blues.jpj.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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