Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 08:39:35 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333661 - head/www/linux-mplayer-plugin
Message-ID:  <201311130839.rAD8dZC5041342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311130839.rAD8dZC5041342>