How do I put accessory scripts in a Makefile ?
Jon Drews
jon.drews at gmail.com
Tue Feb 15 14:18:04 PST 2005
On Tue, 15 Feb 2005 16:04:40 -0600, Scot Hetzel <swhetzel at gmail.com> wrote:
> On Tue, 15 Feb 2005 16:00:25 -0600, Scot Hetzel <swhetzel at gmail.com> wrote:
> > On Tue, 15 Feb 2005 12:34:11 -0700, Jon Drews <jon.drews at 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
More information about the freebsd-ports
mailing list