Well, not a simple way. But a reliable way does exist:
Code:
$ cd /usr/ports/www/firefox
$ for i in PKG EXTRACT PATCH FETCH BUILD LIB RUN
> do
> echo ${i}_DEPENDS: `make -V ${i}_DEPENDS | sed "s/[^ :]*:\([^ :]\)/\1/g"`
> done
PKG_DEPENDS: ports-mgmt/pkg
EXTRACT_DEPENDS:
PATCH_DEPENDS:
FETCH_DEPENDS:
BUILD_DEPENDS: devel/nspr security/nss devel/icu devel/libevent print/harfbuzz graphics/graphite2 graphics/png multimedia/dav1d multimedia/libvpx databases/py-sqlite3@py38 multimedia/v4l_compat devel/autoconf213 devel/nasm devel/yasm archivers/zip devel/wasi-libcxx devel/wasi-libc devel/wasi-compiler-rt13 devel/llvm13 devel/rust-cbindgen lang/rust www/node devel/llvm13 devel/libnotify audio/jack audio/pulseaudio audio/sndio devel/gmake converters/libiconv devel/pkgconf lang/python38 devel/desktop-file-utils x11/xorgproto x11/libX11 x11/libxcb x11/libXcomposite x11/libXdamage x11/libXext x11/libXfixes x11/libXrender x11-toolkits/libXt x11/libXrandr x11/libXtst lang/perl5.32
LIB_DEPENDS: graphics/libdrm devel/libepoll-shim x11-fonts/fontconfig print/freetype2 multimedia/aom multimedia/dav1d devel/libevent devel/libffi graphics/graphite2 print/harfbuzz devel/nspr security/nss graphics/png x11/pixman multimedia/libvpx graphics/webp devel/dbus devel/dbus-glib graphics/libglvnd accessibility/atk graphics/cairo graphics/gdk-pixbuf2 devel/glib20 devel/gettext-runtime x11-toolkits/gtk30 x11-toolkits/pango graphics/jpeg-turbo
RUN_DEPENDS: devel/libpci multimedia/ffmpeg devel/desktop-file-utils x11/libX11 x11/libxcb x11/libXcomposite x11/libXdamage x11/libXext x11/libXfixes x11/libXrender x11-toolkits/libXt x11/libXrandr x11/libXtst
So here You have the dependencies, according to the current option knobs settings. Now grab the ones you want, change into their respective directories, and repeat.
I am doing this
as of here. I don't know what poudriere&friends do; I had decided to write my own, and that will just build what it can, and report "Stuck" for the rest. Then there is a file with the dependency data as above, and I have to grep through that file. Suits for me.