pkgsrc/devel/jd-gui/Makefile
tnn ceeed277b5 Import jd-gui-1.4.0 as devel/jd-gui.
JD-GUI is a standalone graphical utility that displays Java source codes
of ".class" files. You can browse the reconstructed source code with the
JD-GUI for instant access to methods and fields.
2015-08-26 10:57:30 +00:00

32 lines
856 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/08/26 10:57:30 tnn Exp $
DISTNAME= jd-gui-1.4.0
GITHUB_RELEASE= v${PKGVERSION_NOREV}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=java-decompiler/}
EXTRACT_SUFX= .jar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://java-decompiler.github.io/
COMMENT= Standalone Java byte code decompiler
LICENSE= gnu-gpl-v3
NO_CONFIGURE= yes
USE_JAVA= yes
USE_JAVA2= 8
INSTALLATION_DIRS= bin lib/java/jd-gui
do-build:
printf "#! /bin/sh\\nexec %s -jar %s \"%s\"\\n" \
${JAVA_BINPREFIX}-java \
${PREFIX}/lib/java/jd-gui/${DISTNAME}${EXTRACT_SUFX} \
'$$@' > \
${WRKDIR}/jd-gui
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jd-gui ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX} ${DESTDIR}${PREFIX}/lib/java/jd-gui
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"