mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
dev-java/jflex: Make use of ${PN} when installing the launcher.
Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user