Writing a portfile for a single script

Lawrence Velázquez larryv at macports.org
Tue Jan 15 14:22:49 PST 2013


On Jan 15, 2013, at 5:05 PM, Sean Farley <sean at macports.org> wrote:

> I'm looking for advice / best practices for bypassing the extract
> phase when writing a portfile for a script (and hence it's not a
> tarball). One idea I had was something like the following,
> 
> {{{
> distname            ${name}
> extract.suffix
> use_configure       no
> 
> extract             {}
> build               {}
> }}}
> 
> Another option would be to wrap the script in a tarball and host that
> somewhere? Thanks in advance for any tips!

As per the Guide, the usual way to eliminate a phase is to define it to be empty.

http://guide.macports.org/chunked/development.examples.html#development.examples.eliminate

vq



More information about the macports-dev mailing list