From owner-freebsd-ports Mon Sep 25 4:45:38 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 9B63137B43C for ; Mon, 25 Sep 2000 04:45:34 -0700 (PDT) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 13dWhJ-000FBM-00; Mon, 25 Sep 2000 13:45:25 +0200 Date: Mon, 25 Sep 2000 13:45:25 +0200 From: Neil Blakey-Milner To: Will Andrews , FreeBSD Ports Subject: Re: makeport part deux - automated port creation tools. Message-ID: <20000925134524.A58295@mithrandr.moria.org> References: <20000924034526.A46867@mithrandr.moria.org> <20000925045341.N1054@puck.firepipe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000925045341.N1054@puck.firepipe.net>; from will@physics.purdue.edu on Mon, Sep 25, 2000 at 04:53:41AM -0500 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon 2000-09-25 (04:53), Will Andrews wrote: > On Sun, Sep 24, 2000 at 03:45:26AM +0200, Neil Blakey-Milner wrote: > > Anyway, I've only just got back to hacking on these. makeport.pl also > > attempted USE_GMAKE if 'make' failed in a specific way, and searched for > > ALL_TARGET, if it wasn't 'all'. Anyway, I'd love some comments. > > Plus, have you considered using templates to do certain things? Maybe > adding a utility to the makeport script to generate PLISTs (nahh.. that > ought to go in bsd.port.mk and called from makeport)? Yes, these (mkpskel, mkpextr) are just the first two of the four steps that makeport.pl used to do. That's guess the name and build the skeleton, and then extract and glean some info. mkpbuild and mkpinstall (or whatever they're to be named) try to build the port, and make occasional guesses about build failures (not particularly well), and mkpinstall will install them, generate a PLIST, and hopefully pick up things like INSTALLS_SHLIB, MAN*, &c. The reason I stopped hacking on makeport.pl is that it was too monolithic, and I couldn't actually get it work on any ports anymore, just generate skeletons and fail building. Now the individual steps are available, like just generating a PLIST. Maybe with OpenBSD's 'fake' stuff, this won't be necessary, but we probably have a way to go with that. I have to dash due to hideous phone tariffs during the day, and today being a public holiday over here. Neil -- Neil Blakey-Milner Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message