Skip to content

Commit

Permalink
dev-java/jflex: Make use of ${PN} when installing the launcher.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
monsieurp committed Oct 1, 2015
1 parent 6de11a3 commit 82ce443
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev-java/jflex/jflex-1.6.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ EANT_GENTOO_CLASSPATH_EXTRA="lib/${P}.jar"
# Currently, this package uses an included JFlex.jar file to bootstrap.
# Upstream was contacted and this bootstrap is really needed. The only way to
# avoid it would be to use a supplied pre-compiled .scanner file.

JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="
ant-core
Expand All @@ -76,7 +75,7 @@ src_test() {

src_install() {
java-pkg_newjar build/${P}.jar ${PN}.jar
java-pkg_dolauncher "${PN}" --main jflex.Main
java-pkg_dolauncher "${PN}" --main "${PN}.Main"
java-pkg_register-ant-task

if use doc ; then
Expand Down

0 comments on commit 82ce443

Please sign in to comment.