how do i view the contents of a portfile to see the code that makes up the program? Mark Daniel Dymek
"port cat foo" where foo is the name of the port On Feb 25, 2007, at 1:23 AM, Mark Dymek wrote:
how do i view the contents of a portfile to see the code that makes up the program?
Mark Daniel Dymek _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
sorry i wasn't clear i want to view the portfile itself to see the tcl code. using cat just gives me info about the port i want to actually read the underlying code that makes it work. Mark Daniel Dymek On Saturday, February 24, 2007, at 07:26PM, "Elias Pipping" <pipping@macports.org> wrote:
"port cat foo" where foo is the name of the port
On Feb 25, 2007, at 1:23 AM, Mark Dymek wrote:
how do i view the contents of a portfile to see the code that makes up the program?
Mark Daniel Dymek _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
you might have chosen a bad example. have a look at "port cat vim" e.g. and you'll find the kind of code you're looking for. On Feb 25, 2007, at 1:32 AM, Mark Dymek wrote:
sorry i wasn't clear i want to view the portfile itself to see the tcl code. using cat just gives me info about the port i want to actually read the underlying code that makes it work.
Mark Daniel Dymek
On Saturday, February 24, 2007, at 07:26PM, "Elias Pipping" <pipping@macports.org> wrote:
"port cat foo" where foo is the name of the port
On Feb 25, 2007, at 1:23 AM, Mark Dymek wrote:
how do i view the contents of a portfile to see the code that makes up the program?
Mark Daniel Dymek _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
On Feb 24, 2007, at 18:23, Mark Dymek wrote:
how do i view the contents of a portfile to see the code that makes up the program?
As Elias said, "port cat foo" will print the tcl code of the portfile foo into the Terminal. Another option is to "port edit foo" which will open the portfile for foo into your preferred editor (whatever you have the $EDITOR environment variable set to).
participants (3)
-
Elias Pipping
-
Mark Dymek
-
Ryan Schmidt