2007-08-23 20:20:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2007/08/23 18:20:35 jlam Exp $
|
2002-04-14 15:05:18 +02:00
|
|
|
|
|
|
|
DISTNAME= opera-plugins-1.0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2002-04-14 15:05:18 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
2006-09-22 16:40:33 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-04-14 15:05:18 +02:00
|
|
|
HOMEPAGE= http://www.opera.com/
|
|
|
|
COMMENT= Plugins for the Opera browser
|
|
|
|
|
2005-07-19 04:29:35 +02:00
|
|
|
DEPENDS+= opera>=5.999.1:../../www/opera
|
2004-01-26 15:56:47 +01:00
|
|
|
DEPENDS+= ns-flash>=5.0.47:../../multimedia/ns-flash
|
2007-07-29 07:18:36 +02:00
|
|
|
|
|
|
|
EMUL_PLATFORMS= linux-i386
|
|
|
|
EMUL_MODULES.linux= motif
|
2007-08-23 20:20:30 +02:00
|
|
|
EMUL_REQD= suse>=7.3
|
2002-04-14 15:05:18 +02:00
|
|
|
|
|
|
|
EXTRACT_ONLY= # empty
|
|
|
|
NO_CHECKSUM= YES
|
|
|
|
NO_BUILD= YES
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
PLUGIN_DIR= ${PREFIX}/lib/netscape/plugins
|
2007-07-29 07:18:36 +02:00
|
|
|
|
2002-04-14 15:05:18 +02:00
|
|
|
# The FlashPlayer plugin is the only one I got completely working so far.
|
|
|
|
# Sun's Java Plugin fails, Acrobat and RealPlayer are not recognized by
|
|
|
|
# name. If you get more plugins working add them (including dependences)
|
|
|
|
# and bump the version number.
|
2007-07-29 07:18:36 +02:00
|
|
|
#
|
2002-04-14 15:05:18 +02:00
|
|
|
PLUGINS= libflashplayer.so
|
|
|
|
|
2007-07-29 07:18:36 +02:00
|
|
|
INSTALLATION_DIRS= ${EMULSUBDIRSLASH}usr/lib/opera/plugins
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2002-04-14 15:05:18 +02:00
|
|
|
do-install:
|
2007-07-29 07:18:36 +02:00
|
|
|
${RM} -f ${PLIST_SRC}
|
|
|
|
${TOUCH} ${PLIST_SRC}
|
|
|
|
for FILE in ${PLUGINS}; do \
|
|
|
|
${LN} -fs ${PLUGIN_DIR}/$$FILE \
|
|
|
|
${EMULDIR}/usr/lib/opera/plugins/$$FILE; \
|
|
|
|
${ECHO} ${EMULSUBDIRSLASH}usr/lib/opera/plugins/$$FILE \
|
|
|
|
>>${PLIST_SRC}; \
|
|
|
|
done
|
|
|
|
|
2003-03-26 05:05:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|