# $NetBSD: Makefile.common,v 1.5 2006/05/29 14:04:04 tron Exp $ DISTNAME= ${MOZ_BIN}-java-1.2 CATEGORIES= www lang MASTER_SITES= # empty DISTFILES= # empty MAINTAINER= kei@NetBSD.org COMMENT?= Java Run Time Environment (JRE) 1.5 plugin for firefox-bin DEPENDS+= sun-jre15-[0-9]*:../../lang/sun-jre15 ONLY_FOR_PLATFORM= Linux-*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386 WRKSRC= ${WRKDIR} NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES 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} ${NS_PLUGINS_DIR} ${LN} -s ${PLUGIN} ${NS_PLUGINS_DIR}/libjavaplugin_oji.so