[MacPorts] #34467: configure enscript
MacPorts
noreply at macports.org
Tue May 15 22:29:00 PDT 2012
#34467: configure enscript
----------------------------------+-----------------------------------------
Reporter: darrell@… | Owner: macports-tickets@…
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.0
Resolution: invalid | Keywords:
Port: enscript |
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: ryandesign@… (added)
* resolution: => invalid
* type: request => enhancement
* port: => enscript
Old description:
> I want to configure enscript. I believe I need to pass it this command
> arg:
>
> --with-media=Letter
>
> But try as I might, and I looked at the guide, I cannot figure out how to
> pass it to the port command. There is "port configure" but its
> documentation is pretty lacking:
>
> sh-3.2# port help configure
> Usage: configure
>
> Configure the given ports
>
> So it's really a generic question: How do I get to the configure part of
> a port? A4 paper is not at all helpful for me, and there's other little
> irritations as well.
New description:
I want to configure enscript. I believe I need to pass it this command
arg:
{{{
--with-media=Letter
}}}
But try as I might, and I looked at the guide, I cannot figure out how to
pass it to the port command. There is "port configure" but its
documentation is pretty lacking:
{{{
sh-3.2# port help configure
Usage: configure
Configure the given ports
}}}
So it's really a generic question: How do I get to the configure part of a
port? A4 paper is not at all helpful for me, and there's other little
irritations as well.
--
Comment:
You don't manually run the configure script or supply configure arguments.
MacPorts does so for you automatically, as defined in the Portfile, which
was set up by someone with an understanding of the software in question,
using a set of configuration values that make sense for most users.
You can examine the Portfile yourself using:
{{{
port cat enscript
}}}
You can see that `--with-media=Letter` is in the default configure
arguments that the Portfile will supply. So a simple
{{{
sudo port install enscript
}}}
will do what you want.
Had you wanted A4 instead of Letter, you might have taken a look at the
variants:
{{{
$ port variants enscript
enscript has the variants:
mediaA4: use A4
universal: Build for multiple architectures
}}}
If you have further questions about how to use MacPorts, please write to
the macports-users mailing list. The issue tracker is for bug reports and
feature requests.
--
Ticket URL: <https://trac.macports.org/ticket/34467#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list