New package: javahelp2-2.0.05

This commit is contained in:
Jürgen Buchmüller 2015-12-02 20:21:17 +01:00
parent 5077444e2f
commit 4a5fdbac6c
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- javahelp_nbproject/build.xml 2009-11-23 13:51:06.000000000 +0100
+++ javahelp_nbproject/build.xml 2015-12-02 18:22:39.236728900 +0100
@@ -45,7 +45,7 @@
<available property="jdic-zip-present" file="${jdic-zip}"/>
<target name="-pre-init"
- depends="unpack-servlet-jar,unpack-jsp-jar,unpack-jdic-jar"/>
+ depends="unpack-servlet-jar,unpack-jsp-jar"/>
<target name="release" description="Build the full JavaHelp JARs"
depends="build-jsearch-jars,copy-jsearch-jars,create-javahelp-jars"/>

View file

@ -0,0 +1,37 @@
# Template file for 'javahelp2'
pkgname=javahelp2
version=2.0.05
revision=1
_svnver=svn63
wrksrc=${pkgname}-${version}_${_svnver}
noarch=yes
short_desc="Java based help system"
hostmakedepends="openjdk apache-ant unzip"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="https://javahelp.java.net/"
distfiles="http://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/${pkgname}-src-${version}_${_svnver}.zip"
checksum=a864ac71701ed8d12ba192460cd7b4d51e78813f39a140ede5d9b04afd9eae92
do_install() {
local _javahelp=usr/share/java/javahelp
# Remove class uncompilable without JDIC
rm -v jhMaster/JavaHelp/src/new/javax/help/plaf/basic/BasicNativeContentViewerUI.java
# Build jars
cd javahelp_nbproject
ant release
vmkdir usr/bin
for f in jhindexer jhsearch; do
vinstall dist/bin/${f}.jar 644 ${_javahelp}
sed dist/bin/${f} -e "s;opt/javahelp;${_javahelp};g" > ${f}
vbin ${f}
done
for f in dist/lib/*.jar; do
vinstall $f 644 ${_javahelp}
done
}