USE=doc doesn't install javadocs for javacc. Upon further investigation, it seems the package's build.xml doesn't have a target for it.
Created attachment 61891 [details, diff] javacc-3.2-r3.patch * Applies a patch to the build.xml * Adds javadoc target to ${antflags} when appropriate * Installs javadocs when appropriate I'm not sure if this would be worthy of a revision bump or not.
Created attachment 61892 [details, diff] patch for javacc's build.xml Simply adds a javadoc target. The whole script could use some refactoring, but that can be saved for another time. Also, this should probably be sent upstream.
applied thanks