43

How to list all files that was installed by some MacPorts package?

For example in Funtoo (or in Gentoo) I can achieve the same with a command:

equery b [package name]

Alex Bolotov
  • 2,481

2 Answers2

66
port contents installed_port_name
chiggsy
  • 3,049
-1

In my case the CFLAGS LDFLAGS were necessary.

# ensure libyaml is installed
port install libyaml +universal

# if you like you can check the location of the installied files (especially the .h file)
# port contents libyaml

# now configure with these options
CFLAGS="-I/opt/local/include/ "  LDFLAGS="-L/opt/local/lib/" ./configure
make
sudo make install
reto
  • 980