Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2000 14:54:52 -0300
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        "Lester A. Mesa" <netadmin@primex.prontel.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <20000624145452.B20371@Fedaykin.here>
In-Reply-To: <006201bfdde3$84f92b60$a956e3d8@workstation9>; from netadmin@primex.prontel.net on Sat, Jun 24, 2000 at 09:53:03AM -0400
References:  <006201bfdde3$84f92b60$a956e3d8@workstation9>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 24, 2000 at 09:53:03AM -0400, Lester A. Mesa wrote:
> 
> 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?

Porter's Handbook:

3.5. Configuring

   Include any additional customization commands to your configure
   script and save it in the scripts subdirectory. As mentioned above,
   you can also do this as Makefile targets and/or scripts with the
   name pre-configure or post-configure.


E.g.,

Save your script inside the files directory inside the port directory,
then

pre-configure:
	${FILESDIR}/myscript


	Regards,
		Mario Ferreira


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?20000624145452.B20371>