1 # $NetBSD: Makefile,v 1.14 2007/08/23 18:20:35 jlam Exp $
3 DISTNAME= opera-plugins-1.0
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://www.opera.com/
11 COMMENT= Plugins for the Opera browser
13 DEPENDS+= opera>=5.999.1:../../www/opera
14 DEPENDS+= ns-flash>=5.0.47:../../multimedia/ns-flash
16 EMUL_PLATFORMS= linux-i386
17 EMUL_MODULES.linux= motif
21 PLIST_SRC= ${WRKDIR}/PLIST
23 PLUGIN_DIR= ${PREFIX}/lib/netscape/plugins
25 # The FlashPlayer plugin is the only one I got completely working so far.
26 # Sun's Java Plugin fails, Acrobat and RealPlayer are not recognized by
27 # name. If you get more plugins working add them (including dependences)
28 # and bump the version number.
30 PLUGINS= libflashplayer.so
32 INSTALLATION_DIRS= ${EMULSUBDIRSLASH}usr/lib/opera/plugins
37 for FILE in ${PLUGINS}; do \
38 ${LN} -fs ${PLUGIN_DIR}/$$FILE \
39 ${EMULDIR}/usr/lib/opera/plugins/$$FILE; \
40 ${ECHO} ${EMULSUBDIRSLASH}usr/lib/opera/plugins/$$FILE \
44 .include "../../mk/bsd.pkg.mk"