svn commit: r333661 - head/www/linux-mplayer-plugin

Baptiste Daroussin bapt at FreeBSD.org
Wed Nov 13 08:39:35 UTC 2013


Author: bapt
Date: Wed Nov 13 08:39:35 2013
New Revision: 333661
URL: http://svnweb.freebsd.org/changeset/ports/333661

Log:
  Convert to USES=webplugin
  Remove now unused Makefile.npapi
  Stageify

Deleted:
  head/www/linux-mplayer-plugin/Makefile.npapi
Modified:
  head/www/linux-mplayer-plugin/Makefile

Modified: head/www/linux-mplayer-plugin/Makefile
==============================================================================
--- head/www/linux-mplayer-plugin/Makefile	Wed Nov 13 08:21:53 2013	(r333660)
+++ head/www/linux-mplayer-plugin/Makefile	Wed Nov 13 08:39:35 2013	(r333661)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mplayerplug-in
 PORTVERSION=	3.55
-PORTREVISION=	3
+PORTREVISION=	4
 DISTVERSIONSUFFIX=	-1.rh9.rf
 CATEGORIES=	www multimedia
 MASTER_SITES=	CENKES http://apt.sw.be/packages/mplayerplug-in/ \
@@ -15,18 +15,21 @@ COMMENT=	Embed MPlayer into browser
 
 RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer
 
+USES=		webplugin:linux
 NO_BUILD=	yes
 USE_LINUX_RPM=	yes
 USE_LINUX_APPS=	atk gtk2 pango xorglibs
 PREFIX?=	${LOCALBASE}
 SRC_DISTFILES=
 DIST_SUBDIR=   rpm
-
-USE_NPAPI=	linux
-NPAPI_WRKSRC=	${WRKDIR}/usr/lib/mozilla/plugins
-NPAPI_FILES=	${PLUGINS_EXT:S/^/${PORTNAME}/}
+WEBPLUGIN_NAME=	#
+WEBPLUGIN_FILES=	${PLUGINS_EXT:S/^/${PORTNAME}/}
 PLUGINS_EXT=	.so .xpt -dvx.so -dvx.xpt -qt.so -qt.xpt -rm.so -rm.xpt -wmp.so -wmp.xpt
+PLIST_FILES+=		${PLUGINS_EXT:S,^,lib/browser_plugins/${PORTNAME},}
+PLIST_DIRSTRY=	lib/browser_plugins
+
+do-install:
+	${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR}
+	${INSTALL_DATA} ${WRKSRC}/usr/lib/mozilla/plugins/* ${STAGEDIR}${WEBPLUGIN_DIR}
 
-NO_STAGE=	yes
-.include "${.CURDIR}/Makefile.npapi"
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list