Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 14:12:32 +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: r333573 - head/www/dummyflash
Message-ID:  <201311121412.rACECWjU064938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Nov 12 14:12:31 2013
New Revision: 333573
URL: http://svnweb.freebsd.org/changeset/ports/333573

Log:
  Convert to the new USES=webplugin
  Allow staging

Modified:
  head/www/dummyflash/Makefile
  head/www/dummyflash/pkg-plist

Modified: head/www/dummyflash/Makefile
==============================================================================
--- head/www/dummyflash/Makefile	Tue Nov 12 14:11:22 2013	(r333572)
+++ head/www/dummyflash/Makefile	Tue Nov 12 14:12:31 2013	(r333573)
@@ -17,15 +17,11 @@ BUILD_WRKSRC=	${WRKSRC}/PluginSDK30b5/ex
 NO_WRKSUBDIR=	yes
 MAKEFILE=	makefile.freebsd
 
-USE_WEBPLUGINS=	native
-WEBPLUGINS_FILES=dummyflash.so
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+USES=		webplugin:native
+WEBPLUGIN_FILES=dummyflash.so
 
 do-install:
-	@${MKDIR} ${WEBPLUGINS_DIR}
-	${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${WEBPLUGINS_DIR}
+	@${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR}
+	${INSTALL_LIB} ${BUILD_WRKSRC}/dummyflash.so ${STAGEDIR}${WEBPLUGIN_DIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/dummyflash/pkg-plist
==============================================================================
--- head/www/dummyflash/pkg-plist	Tue Nov 12 14:11:22 2013	(r333572)
+++ head/www/dummyflash/pkg-plist	Tue Nov 12 14:12:31 2013	(r333573)
@@ -1,2 +1,2 @@
-%%WEBPLUGINS_DIR%%/dummyflash.so
-@dirrmtry %%WEBPLUGINS_DIR%%
+%%WEBPLUGIN_DIR%%/dummyflash.so
+@dirrmtry %%WEBPLUGIN_DIR%%



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