sthen 828f08b0e2 sweep all java ports with a couple of adjustments to build/dependency
environment, which will reduce complexity in java.port.mk when jdk 11 is
added. direction agreed with kurt@.

- switch all MODJAVA_VER to at least 1.8 (we don't currently have any
version earlier than this anyway).

- drop MODJAVA_JRERUN, the separate jre package will be going away with
jdk 11.

- bump changed ports
2019-03-24 22:24:12 +00:00

44 lines
924 B
Makefile

# $OpenBSD: Makefile,v 1.6 2019/03/24 22:24:12 sthen Exp $
COMMENT = dex to java decompiler
VERSION = 0.9.0
REVISION = 0
DISTNAME = jadx-${VERSION}
CATEGORIES = devel security
HOMEPAGE = https://github.com/skylot/jadx
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# Apachev2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://github.com/skylot/jadx/releases/download/v${VERSION}/
EXTRACT_SUFX = .zip
MODULES = java
MODJAVA_VER = 1.8+
RUN_DEPENDS = java/javaPathHelper \
shells/bash
NO_BUILD = Yes
NO_TEST = Yes
WRKDIST = ${WRKDIR}
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/jadx/
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/jadx/lib
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/jadx/bin
cp -r ${WRKSRC}/lib ${PREFIX}/share/jadx/
.for i in jadx jadx-gui
${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${PREFIX}/share/jadx/bin/
ln -s ${TRUEPREFIX}/share/jadx/bin/${i} ${PREFIX}/bin/${i}
.endfor
.include <bsd.port.mk>