Date: Tue, 15 Feb 2005 15:18:03 -0700 From: Jon Drews <jon.drews@gmail.com> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: How do I put accessory scripts in a Makefile ? Message-ID: <8cb27cbf050215141820807acd@mail.gmail.com> In-Reply-To: <790a9fff05021514044802b652@mail.gmail.com> References: <8cb27cbf05021511345f5b871e@mail.gmail.com> <790a9fff05021514001fee0bd9@mail.gmail.com> <790a9fff05021514044802b652@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Feb 2005 16:04:40 -0600, Scot Hetzel <swhetzel@gmail.com> wrote: > On Tue, 15 Feb 2005 16:00:25 -0600, Scot Hetzel <swhetzel@gmail.com> wrote: > > On Tue, 15 Feb 2005 12:34:11 -0700, Jon Drews <jon.drews@gmail.com> wrote: > > > Port: editors/ted > > > Version: 2.17 > > > on: 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 > > > > > > I have > > > > > > do-install: > > > ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin > > > ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted ${PREFIX}/bin > > : > > > That is I want to install rtf2pdf.sh and rtf2ps.sh from > > > /usr/ports/editors/ted/work/Ted-2.17/tedPackage/Ted into > > > /usr/X11R6/bin/. Is the line ${INSTALL_SCRIPT} > > > ${WRKSRC}/tedPackage/Ted ${PREFIX}/bin the correct way to do it? > > > > > Yes. I had this: ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/rtf2*.sh ${PREFIX}/bin > Was a little to quick, you need: > > .for file in rtf2pdf rtf2ps > ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/Ted/${file}.sh ${PREFIX}/bin/${file} > .endfor Ah Scot, that is very nice. I will use that. Thanks! Kind regards, Jonathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb27cbf050215141820807acd>