summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-09-29 14:49:14 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-10-01 09:29:15 +0200
commit97550a214ffad9a5f30abba5b25d459f5aad675e (patch)
tree6e7b32368021a9182ff81bcfa182f8bcb8e6f49d /app-text/pdftk
parentdev-perl/Test-Warnings: add 0.32.0 (diff)
downloadgentoo-97550a214ffad9a5f30abba5b25d459f5aad675e.tar.gz
gentoo-97550a214ffad9a5f30abba5b25d459f5aad675e.tar.bz2
gentoo-97550a214ffad9a5f30abba5b25d459f5aad675e.zip
app-text/pdftk: install man pages, minor style updates
Closes: https://bugs.gentoo.org/914895 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'app-text/pdftk')
-rw-r--r--app-text/pdftk/pdftk-3.3.3-r2.ebuild (renamed from app-text/pdftk/pdftk-3.3.3-r1.ebuild)18
1 files changed, 8 insertions, 10 deletions
diff --git a/app-text/pdftk/pdftk-3.3.3-r1.ebuild b/app-text/pdftk/pdftk-3.3.3-r2.ebuild
index d52e564454cc..e1d923522054 100644
--- a/app-text/pdftk/pdftk-3.3.3-r1.ebuild
+++ b/app-text/pdftk/pdftk-3.3.3-r2.ebuild
@@ -12,6 +12,7 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A port of pdftk into java"
HOMEPAGE="https://gitlab.com/pdftk-java/pdftk"
SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.bz2"
+S="${WORKDIR}/${PN}-v${PV}"
LICENSE="GPL-2"
SLOT="0"
@@ -23,11 +24,6 @@ CP_DEPEND="
dev-java/commons-lang:3.6
"
-# Compile dependencies
-# POM: pom.xml
-# test? com.github.stefanbirkner:system-rules:1.19.0 -> !!!groupId-not-found!!!
-# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4
-
DEPEND="
>=virtual/jdk-1.8:*
${CP_DEPEND}
@@ -43,18 +39,15 @@ RDEPEND="
DOCS=( CHANGELOG.md README.md )
-S="${WORKDIR}/${PN}-v${PV}"
-
-JAVA_LAUNCHER_FILENAME="${PN}"
JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk"
-JAVA_SRC_DIR="java"
JAVA_RESOURCE_DIRS="resources/java"
+JAVA_SRC_DIR="java"
JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules"
JAVA_TEST_SRC_DIR="test"
src_prepare() {
- default
+ java-pkg-2_src_prepare
mkdir resources || die
cp -r {,resources/}java || die
rm -r resources/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/codec || die
@@ -81,3 +74,8 @@ src_test() {
)
java-pkg-simple_src_test
}
+
+src_install() {
+ java-pkg-simple_src_install
+ doman "${PN}.1"
+}