[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / icedtea-web

File: [cvs.NetBSD.org] / pkgsrc / www / icedtea-web / Makefile (download)

Revision 1.19, Wed Feb 6 23:24:01 2013 UTC (6 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.18: +2 -2 lines

PKGREVISION bumps for the security/openssl 1.0.1d update.

# $NetBSD: Makefile,v 1.19 2013/02/06 23:24:01 jperkin Exp $
#

DISTNAME=	61e08e67b176
PKGNAME=	icedtea-web-1.2pre
PKGREVISION=	13
CATEGORIES=	www
MASTER_SITES=	http://icedtea.classpath.org/hg/icedtea-web/archive/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://icedtea.classpath.org/
COMMENT=	Java browser plugin and Web Start launcher
#LICENSE=	# GPL2 + Classpath exception

GNU_CONFIGURE=		yes
USE_LANGUAGES+=		c c++
USE_TOOLS+=		autoconf automake gmake pkg-config zip
WRKSRC=			${WRKDIR}/icedtea-web-${DISTNAME}

CONFIGURE_ARGS+=	 --with-jdk-home=${PREFIX}/java/openjdk7

pre-configure:
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -if

do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${WRKSRC}/plugin/icedteanp/IcedTeaPlugin.so launcher.build/javaws

INSTALLATION_DIRS+=		bin lib/netscape/plugins

do-install:
	${INSTALL_LIB} ${WRKSRC}/plugin/icedteanp/IcedTeaPlugin.so ${DESTDIR}${PREFIX}/lib/netscape/plugins
	${INSTALL_SCRIPT} ${WRKSRC}/launcher.build/javaws ${DESTDIR}${PREFIX}/bin

BUILDLINK_API_DEPENDS.xulrunner+=       xulrunner>=5.0
.include "../../devel/xulrunner/buildlink3.mk"
BUILDLINK_API_DEPENDS.openjdk7+=       openjdk7>=1.7.0.147
.include "../../lang/openjdk7/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"