Opened 12 years ago

Closed 12 years ago

#34467 closed enhancement (invalid)

configure enscript

Reported by: darrell@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: enscript

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: enscript added
Resolution: invalid
Status: newclosed
Type: requestenhancement

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.

Note: See TracTickets for help on using tickets.