$ tree /tmp/pkgsrc/devel/libffi/work/.destdir/opt/pkg/
/tmp/pkgsrc/devel/libffi/work/.destdir/opt/pkg/
|-- include
| |-- ffi.h
| `-- ffitarget.h
|-- info
| `-- libffi.info
|-- lib
| |-- amd64
| | |-- libffi.a
| | |-- libffi.la
| | |-- libffi.so -> libffi.so.6.0.1
| | |-- libffi.so.6 -> libffi.so.6.0.1
| | `-- libffi.so.6.0.1
| `-- pkgconfig
| `-- libffi.pc
`-- man
`-- man3
|-- ffi.3
|-- ffi_call.3
|-- ffi_prep_cif.3
`-- ffi_prep_cif_var.3
7 directories, 13 files
$ cat /tmp/pkgsrc/devel/libffi/work/.destdir/opt/pkg/lib/pkgconfig/libffi.pc
prefix=/opt/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=/opt/pkg/include
Name: libffi
Description: Library supporting Foreign Function Interfaces
Version: 3.0.12
Libs: -Wl,-R${libdir} -L${libdir} -lffi
Cflags: -I${includedir}