Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2000 17:00:31 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        "Lester A. Mesa" <netadmin@primex.prontel.net>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: 
Message-ID:  <3954BEFF.64CE5B59@FreeBSD.org>
References:  <006201bfdde3$84f92b60$a956e3d8@workstation9>

next in thread | previous in thread | raw e-mail | index | archive | help
"Lester A. Mesa" wrote:

> Good Morning,
>
> I'm creating a port and i have a question..
>
> How can i get the port to run a system commands like pw useradd or even echo
> a file with information or run a script that will hold this commands, before
> it actually starts to ./configure?

Simply add pre-configure target, for example:

[...]
pre-configure:
        cat somedir/somefile

[...]

Take a look at existing ports for more examples.

-Maxim



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?3954BEFF.64CE5B59>