| @@ -1,44 +1,46 @@ | | | @@ -1,44 +1,46 @@ |
1 | # $NetBSD: Makefile,v 1.15 2009/04/09 00:48:18 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.16 2011/03/17 08:38:41 obache Exp $ |
2 | | | 2 | |
3 | DISTNAME= opera-plugins-1.0 | | 3 | DISTNAME= opera-plugins-1.0 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= www | | 5 | CATEGORIES= www |
6 | MASTER_SITES= # empty | | 6 | MASTER_SITES= # empty |
7 | DISTFILES= # empty | | 7 | DISTFILES= # empty |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.opera.com/ | | 10 | HOMEPAGE= http://www.opera.com/ |
11 | COMMENT= Plugins for the Opera browser | | 11 | COMMENT= Plugins for the Opera browser |
12 | | | 12 | |
13 | DEPENDS+= opera>=5.999.1:../../www/opera | | 13 | DEPENDS+= opera>=5.999.1:../../www/opera |
14 | DEPENDS+= ns-flash>=5.0.47:../../multimedia/ns-flash | | 14 | DEPENDS+= ns-flash>=5.0.47:../../multimedia/ns-flash |
15 | | | 15 | |
| | | 16 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 17 | |
16 | EMUL_PLATFORMS= linux-i386 | | 18 | EMUL_PLATFORMS= linux-i386 |
17 | EMUL_MODULES.linux= motif | | 19 | EMUL_MODULES.linux= motif |
18 | EMUL_REQD= suse>=7.3 | | 20 | EMUL_REQD= suse>=7.3 |
19 | | | 21 | |
20 | NO_BUILD= YES | | 22 | NO_BUILD= YES |
21 | PLIST_SRC= ${WRKDIR}/PLIST | | 23 | PLIST_SRC= ${WRKDIR}/PLIST |
22 | | | 24 | |
23 | PLUGIN_DIR= ${PREFIX}/lib/netscape/plugins | | 25 | PLUGIN_DIR= ${PREFIX}/lib/netscape/plugins |
24 | | | 26 | |
25 | # The FlashPlayer plugin is the only one I got completely working so far. | | 27 | # 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 | | 28 | # Sun's Java Plugin fails, Acrobat and RealPlayer are not recognized by |
27 | # name. If you get more plugins working add them (including dependences) | | 29 | # name. If you get more plugins working add them (including dependences) |
28 | # and bump the version number. | | 30 | # and bump the version number. |
29 | # | | 31 | # |
30 | PLUGINS= libflashplayer.so | | 32 | PLUGINS= libflashplayer.so |
31 | | | 33 | |
32 | INSTALLATION_DIRS= ${EMULSUBDIRSLASH}usr/lib/opera/plugins | | 34 | INSTALLATION_DIRS= ${EMULSUBDIRSLASH}usr/lib/opera/plugins |
33 | | | 35 | |
34 | do-install: | | 36 | do-install: |
35 | ${RM} -f ${PLIST_SRC} | | 37 | ${RM} -f ${PLIST_SRC} |
36 | ${TOUCH} ${PLIST_SRC} | | 38 | ${TOUCH} ${PLIST_SRC} |
37 | for FILE in ${PLUGINS}; do \ | | 39 | for FILE in ${PLUGINS}; do \ |
38 | ${LN} -fs ${PLUGIN_DIR}/$$FILE \ | | 40 | ${LN} -fs ${PLUGIN_DIR}/$$FILE \ |
39 | ${EMULDIR}/usr/lib/opera/plugins/$$FILE; \ | | 41 | ${DESTDIR}${EMULDIR}/usr/lib/opera/plugins/$$FILE; \ |
40 | ${ECHO} ${EMULSUBDIRSLASH}usr/lib/opera/plugins/$$FILE \ | | 42 | ${ECHO} ${EMULSUBDIRSLASH}usr/lib/opera/plugins/$$FILE \ |
41 | >>${PLIST_SRC}; \ | | 43 | >>${PLIST_SRC}; \ |
42 | done | | 44 | done |
43 | | | 45 | |
44 | .include "../../mk/bsd.pkg.mk" | | 46 | .include "../../mk/bsd.pkg.mk" |