diff options
Diffstat (limited to 'www/mplayer-plugin')
-rw-r--r-- | www/mplayer-plugin/Makefile | 12 | ||||
-rw-r--r-- | www/mplayer-plugin/pkg-plist | 26 |
2 files changed, 20 insertions, 18 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile index 44b0d8b56f5a..9d765306a28c 100644 --- a/www/mplayer-plugin/Makefile +++ b/www/mplayer-plugin/Makefile @@ -7,6 +7,7 @@ PORTNAME= mplayerplug-in PORTVERSION= 3.55 +PORTREVISION= 1 CATEGORIES= www multimedia MASTER_SITES= SF/mplayerplug-in @@ -18,7 +19,8 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer USE_GETTEXT= yes USE_GMAKE= yes USE_GECKO= firefox mozilla seamonkey -PLUGINSFILES= mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \ +USE_WEBPLUGINS= gecko* +WEBPLUGINS_FILES=mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \ mplayerplug-in-qt.so mplayerplug-in-rm.so \ mplayerplug-in-gmp.so mplayerplug-in-wmp.xpt \ mplayerplug-in-qt.xpt mplayerplug-in-rm.xpt \ @@ -32,7 +34,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DBSD" \ USE_XORG= x11 xpm xt .include <bsd.port.pre.mk> -.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk" +.include "${PORTSDIR}/www/firefox/Makefile.webplugins" post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ @@ -43,9 +45,9 @@ post-patch: ${WRKSRC}/Source/plugin-setup.cpp do-install: - ${MKDIR} ${PREFIX}/lib/browser_plugins -.for moo in ${PLUGINSFILES} - ${INSTALL_DATA} ${WRKSRC}/${moo} ${PREFIX}/lib/browser_plugins + ${MKDIR} ${WEBPLUGINS_DIR} +.for moo in ${WEBPLUGINS_FILES} + ${INSTALL_DATA} ${WRKSRC}/${moo} ${WEBPLUGINS_DIR} .endfor ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf \ ${PREFIX}/etc/mplayerplug-in.conf.dist diff --git a/www/mplayer-plugin/pkg-plist b/www/mplayer-plugin/pkg-plist index 0e47a33e8ae8..3f36c2c2d9bd 100644 --- a/www/mplayer-plugin/pkg-plist +++ b/www/mplayer-plugin/pkg-plist @@ -2,18 +2,18 @@ etc/mplayerplug-in.conf.dist @unexec if cmp -s %D/etc/mplayerplug-in.types %D/etc/mplayerplug-in.types.dist; then rm -f %D/etc/mplayerplug-in.types; fi etc/mplayerplug-in.types.dist -lib/browser_plugins/mplayerplug-in-dvx.so -lib/browser_plugins/mplayerplug-in-dvx.xpt -lib/browser_plugins/mplayerplug-in-gmp.so -lib/browser_plugins/mplayerplug-in-gmp.xpt -lib/browser_plugins/mplayerplug-in-qt.so -lib/browser_plugins/mplayerplug-in-qt.xpt -lib/browser_plugins/mplayerplug-in-rm.so -lib/browser_plugins/mplayerplug-in-rm.xpt -lib/browser_plugins/mplayerplug-in-wmp.so -lib/browser_plugins/mplayerplug-in-wmp.xpt -lib/browser_plugins/mplayerplug-in.so -lib/browser_plugins/mplayerplug-in.xpt +%%WEBPLUGINS_DIR%%/mplayerplug-in-dvx.so +%%WEBPLUGINS_DIR%%/mplayerplug-in-dvx.xpt +%%WEBPLUGINS_DIR%%/mplayerplug-in-gmp.so +%%WEBPLUGINS_DIR%%/mplayerplug-in-gmp.xpt +%%WEBPLUGINS_DIR%%/mplayerplug-in-qt.so +%%WEBPLUGINS_DIR%%/mplayerplug-in-qt.xpt +%%WEBPLUGINS_DIR%%/mplayerplug-in-rm.so +%%WEBPLUGINS_DIR%%/mplayerplug-in-rm.xpt +%%WEBPLUGINS_DIR%%/mplayerplug-in-wmp.so +%%WEBPLUGINS_DIR%%/mplayerplug-in-wmp.xpt +%%WEBPLUGINS_DIR%%/mplayerplug-in.so +%%WEBPLUGINS_DIR%%/mplayerplug-in.xpt share/locale/cs/LC_MESSAGES/mplayerplug-in.mo share/locale/da/LC_MESSAGES/mplayerplug-in.mo share/locale/de/LC_MESSAGES/mplayerplug-in.mo @@ -34,7 +34,7 @@ share/locale/sk/LC_MESSAGES/mplayerplug-in.mo share/locale/tr/LC_MESSAGES/mplayerplug-in.mo share/locale/wa/LC_MESSAGES/mplayerplug-in.mo share/locale/zh_CN/LC_MESSAGES/mplayerplug-in.mo -@dirrmtry lib/browser_plugins +@dirrmtry %%WEBPLUGINS_DIR%% @dirrmtry share/locale/se/LC_MESSAGES @dirrmtry share/locale/se @dirrmtry share/locale/en_US/LC_MESSAGES |