portmaster [was: New /bin/sh based script to manage ports]
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Tue Feb 14 16:53:47 PST 2006
On Feb 14, 2006, at 5:04 , Ion-Mihai Tetcu wrote:
> On Tue, 14 Feb 2006 22:35:14 +0100
> hans at 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 at kf8nh.com
system administrator [openafs,heimdal,too many hats]
allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university
KF8NH
More information about the freebsd-ports
mailing list