Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Aug 1996 07:54:17 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Mark Murray <mark@grondar.za>
Cc:        ports@freebsd.org
Subject:   Re: Automatic ports Makefile generator? 
Message-ID:  <19556.838997657@time.cdrom.com>
In-Reply-To: Your message of "Fri, 02 Aug 1996 16:27:07 %2B0200." <199608021427.QAA15279@grumble.grondar.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
> grumble $ makeport
> Makeport - 0.1-ALPHA
> what is the name of your port? hello-1.3
> directory hello-1.3 found OK
> file hello-1.3.tar.gz found OK
> untarrring hello-1.3.tar.gz............OK
> creating diff.....OK
> removing original sources.
> 
> Q&A Time!
> 
> Does your port need GNU make? n
> Does your port need imake? n
> Does your port have its own "configure" script? y
> ...

That sounds pretty reasonable, though again I'd caution you against
making `makeport' a monolithic utility which "knows" which questions
to ask and rather design it as a fairly intelligent "ports variable
description file" and a library of functions for dealing with it.
Then you can write this Q&A sequence as a series of questions, as you
show above, or you can later migrate to some much fancier Tk based
thingie.

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19556.838997657>