Re: fetching via git and worksrcdir

2011-08-15 Thread Christoph Iserlohn
Am 15.08.11 21:49, schrieb Titus von Boxberg: Am 15.08.2011 um 21:12 schrieb Christoph Iserlohn: Am 15.08.11 19:50, schrieb Titus von Boxberg: Hi, I'm trying to write a Portfile for a library that is to be fetched with git. The lib has to be configured and built within a subdir named "src" (

Re: fetching via git and worksrcdir

2011-08-15 Thread Titus von Boxberg
Am 15.08.2011 um 21:12 schrieb Christoph Iserlohn: > Am 15.08.11 19:50, schrieb Titus von Boxberg: >> Hi, >> >> I'm trying to write a Portfile for a library that is to be fetched with git. >> >> The lib has to be configured and built within a subdir named "src" (below >> the lib's root dir). >>

Re: fetching via git and worksrcdir

2011-08-15 Thread Bradley Giesbrecht
Something like this? worksrcdir ${distname}/git configure.dir ${workpath}/${distname}/src build.dir ${workpath}/${distname}/src On Aug 15, 2011, at 11:28 AM, Titus von Boxberg wrote: > had a look. what do you mean? > ffmpeg builds from its root dir, doesn't it? > > > Am 15.08.2011 um 19:58 sc

Re: fetching via git and worksrcdir

2011-08-15 Thread Christoph Iserlohn
Am 15.08.11 19:50, schrieb Titus von Boxberg: Hi, I'm trying to write a Portfile for a library that is to be fetched with git. The lib has to be configured and built within a subdir named "src" (below the lib's root dir). Setting worksrcdir to ${distname}/src causes git to clone the repo

Re: fetching via git and worksrcdir

2011-08-15 Thread Titus von Boxberg
had a look. what do you mean? ffmpeg builds from its root dir, doesn't it? Am 15.08.2011 um 19:58 schrieb Jeremy Huddleston: > Look at ffmpeg-devel > > On Aug 15, 2011, at 10:50, Titus von Boxberg wrote: > >> Hi, >> >> I'm trying to write a Portfile for a library that is to be fetched with gi

Re: fetching via git and worksrcdir

2011-08-15 Thread Jeremy Huddleston
Look at ffmpeg-devel On Aug 15, 2011, at 10:50, Titus von Boxberg wrote: > Hi, > > I'm trying to write a Portfile for a library that is to be fetched with git. > > The lib has to be configured and built within a subdir named "src" (below > the lib's root dir). > > Setting worksrcdir to ${dis

fetching via git and worksrcdir

2011-08-15 Thread Titus von Boxberg
Hi, I'm trying to write a Portfile for a library that is to be fetched with git. The lib has to be configured and built within a subdir named "src" (below the lib's root dir). Setting worksrcdir to ${distname}/src causes git to clone the repo into that directory instead of ${workpath}/${distn