From owner-freebsd-ports Sat Jun 24 10:55:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from 200-191-153-135-as.acessonet.com.br (200-191-153-135-as.acessonet.com.br [200.191.153.135]) by hub.freebsd.org (Postfix) with ESMTP id 5640B37B8CD for ; Sat, 24 Jun 2000 10:55:08 -0700 (PDT) (envelope-from lioux@uol.com.br) Received: (qmail 21523 invoked by uid 1001); 24 Jun 2000 17:54:52 -0000 From: "Mario Sergio Fujikawa Ferreira" Date: Sat, 24 Jun 2000 14:54:52 -0300 To: "Lester A. Mesa" Cc: freebsd-ports@FreeBSD.ORG Subject: Re: your mail Message-ID: <20000624145452.B20371@Fedaykin.here> References: <006201bfdde3$84f92b60$a956e3d8@workstation9> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <006201bfdde3$84f92b60$a956e3d8@workstation9>; from netadmin@primex.prontel.net on Sat, Jun 24, 2000 at 09:53:03AM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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