In 2017 java applets are more or less dead anyway, and NPAPI support is being removed from gecko browsers. If you *really* need that crap for old drac console or your crappy bank website, download the .jnlp file and run it outside your browser using javaws. While here adapt COMMENT/DESCR.. Allows to remove the xulrunner dependency, as xulrunner is heading towards the attic... ok giovanni@ (maintainer) sthen@
41 lines
908 B
Makefile
41 lines
908 B
Makefile
# $OpenBSD: Makefile,v 1.27 2017/07/28 13:34:56 landry Exp $
|
|
|
|
COMMENT = Java web start runtime
|
|
DISTNAME = icedtea-web-1.6.2
|
|
REVISION = 4
|
|
CATEGORIES = www
|
|
|
|
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = http://icedtea.classpath.org/download/source/
|
|
HOMEPAGE = http://icedtea.classpath.org/wiki/IcedTea-Web
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = BIN_BASH=${LOCALBASE}/bin/bash
|
|
CONFIGURE_ARGS = --with-jdk-home=${JAVA_HOME} \
|
|
--disable-docs \
|
|
--disable-plugin
|
|
|
|
MODULES = java
|
|
|
|
MODJAVA_VER= 1.8
|
|
|
|
#build system does horrible things with bash
|
|
RUN_DEPENDS = shells/bash
|
|
BUILD_DEPENDS = ${RUN_DEPENDS} \
|
|
archivers/zip
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
post-patch:
|
|
${SUBST_CMD} ${WRKSRC}/launcher/launchers.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/*.desktop ${PREFIX}/share/applications/
|
|
|
|
.include <bsd.port.mk>
|