[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / firefox-bin-java

File: [cvs.NetBSD.org] / pkgsrc / www / firefox-bin-java / Attic / Makefile.common (download)

Revision 1.10, Wed Sep 2 08:34:16 2009 UTC (13 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.9: +2 -2 lines

Remove kei as maintainer, he resigned.

# $NetBSD: Makefile.common,v 1.10 2009/09/02 08:34:16 wiz Exp $

DISTNAME=		${MOZ_BIN}-java-1.2
CATEGORIES=		www lang
MASTER_SITES=		# empty
DISTFILES=		# empty

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT?=		Java Run Time Environment (JRE) 1.5 plugin for firefox-bin

DEPENDS+=		sun-jre15-[0-9]*:../../lang/sun-jre15

EMUL_PLATFORMS=		linux-i386

PKG_DESTDIR_SUPPORT=	user-destdir

# XXX
# XXX There is a bug where we depend on sun-jre15 and get the x86_64
# XXX version of sun-jre15, but we need the i386 version instead.
# XXX
NOT_FOR_PLATFORM=	*-*-x86_64

WRKSRC=			${WRKDIR}
BUILD_DIRS=		# empty

MOZ_NAME?=		firefox-linux
MOZ_BIN?=		${MOZ_NAME:S/linux/bin/}

PLIST_SUBST+=		MOZ_NAME=${MOZ_NAME:Q}
PLIST_SRC=		${.CURDIR}/../firefox-bin-java/PLIST

NS_PLUGINS_DIR=	${PREFIX}/lib/${MOZ_NAME}/plugins
PLUGIN=		${PREFIX}/java/sun-1.5/plugin/i386/ns7/libjavaplugin_oji.so

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
	${LN} -s ${PLUGIN} ${DESTDIR}${NS_PLUGINS_DIR}/libjavaplugin_oji.so