Fix textproc/libextractor pkg-plist
Also add OPTIONS whether to install additional dependency libraries in
case they are not installed. If they are found during configure time, then
libextractor will pick them and will install additional files, thus we
need to conditionally enable some entries in pkg-plist.
PR: ports/155179 (fixes this PR but with a different patch)