enabling Variant: options when installing nano
Max Garfinkel
max.garfinkel at talk21.com
Fri May 23 01:37:00 PDT 2008
Many thanks, I will give that a whirl this evening! So is the correct method
for applying variants to use the syntax
sudo port install port_name +variant +variant ...etc ?
Cheers
Max Garfinkel wrote:
> Hello, I am new to macports and I am trying to enable syntax
> highlighting for nano. I tried just editing the nanorc file but I get
> errors like this:
> Error in /opt/local/etc/nanorc on line 3: Command "syntax" not
> understood
> I have read around and I am guessing that I need to set the
> configuration options when doing the install. I notice that the apps
> page has a list configuration.args and Variant: options. I can't seem
> to find any information on how to pass these options to the install.
> It seems it may be to do with env variables? Rather than particular
> help configuring nano I would rather have an explanation of how to
> apply these options as it seems to be not really documented anywhere.
> I would be very grateful for a nudge in the right direction.
I am not a user of nano, but I think you need the +color variant of nano.
$ port variants nano
[...]
color: Enable color syntax highlighting
Use the following commands to install nano with this variant:
$ sudo port deactivate nano
$ sudo port install nano +color
> P.s This is my first post to a mailing list so apologies if I have
> broken any etiquette.
Welcome as a MacPorts user! No, you didn't do anything wrong :-)
Rainer
More information about the macports-users
mailing list