Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 01:09:05 +0100 (MET)
From:      Marcin Cieslak <saper@system.pl>
To:        ports@FreeBSD.ORG
Subject:   Re: gif2png: 'optional' dependencies
Message-ID:  <Pine.GSO.4.20.9911010108170.15407-100000@tricord.system.pl>
In-Reply-To: <19991031152242.B23583@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 31 Oct 1999, David O'Brien wrote:

> > pre-install:
> > 	$(SED) -e "s/%%PREFIX%%/$(PREFIX)/" < infile >outfile
> 
> A much cleaner way is:
> 
>     ${PERL} -pi.orig -e "s:/usr/bin/python:${PREFIX}/bin/python:" \
>         /path_to_file_to_change

I finally did it with sed and mv, one command more, but no
bloatware :))

-- 
                 << Marcin Cieslak // saper@system.pl >>

-----------------------------------------------------------------
SYSTEM Internet Provider                     http://www.system.pl



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?Pine.GSO.4.20.9911010108170.15407-100000>