Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 19:53:42 -0500
From:      "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>, Hans Lambermont <hans@lambermont.dyndns.org>
Subject:   Re: portmaster [was: New /bin/sh based script to manage ports]
Message-ID:  <1D3A9E37-7629-4CB3-ADE1-BB5AB9D4B558@ece.cmu.edu>
In-Reply-To: <20060215000409.5b5609ce@it.buh.cameradicommercio.ro>
References:  <43BCF31F.8050900@FreeBSD.org> <20060214213514.GB20841@leia.lambermont.dyndns.org> <20060215000409.5b5609ce@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 14, 2006, at 5:04 , Ion-Mihai Tetcu wrote:

> On Tue, 14 Feb 2006 22:35:14 +0100
> hans@lambermont.dyndns.org (Hans Lambermont) wrote:
>
>> - Read in /usr/local/etc/pkgtools.conf, use HOLD_PKGS, ALT_PKGDEP,
>>   MAKE_ARGS, BEFOREDEINSTALL, AFTERINSTALL
>>   This makes is far easier for users to switch from portupgrade to
>>   portmaster.
>
> What I would like more to see for MAKE_ARGS is translation from
> pkg_tools.conf to make.conf syntax (since make.conf applies
> irrespective of the tool one uses).

As a first cut that seems to do the right thing with various  
syntaxes, see http://www.ece.cmu.edu/~allbery/pkgtools2mk.pl (this  
only addresses MAKE_ARGS).

I used a couple of passes with M-x replace-regexp in xemacs to  
convert mine, but I stuck to a particular format when defining things  
in pkgtools.conf; this script should handle a wider range of input,  
although it assumes you inserted your entries into something  
resembling the sample pkgtools.conf.

-- 
brandon s. allbery     [linux,solaris,freebsd,perl]       
allbery@kf8nh.com
system administrator  [openafs,heimdal,too many hats]   
allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university       
KF8NH






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D3A9E37-7629-4CB3-ADE1-BB5AB9D4B558>