From a0d4a6dc3cd1c9ae15db543c246db3d008f8abef Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 12 Nov 2013 14:12:31 +0000 Subject: [PATCH] Convert to the new USES=webplugin Allow staging --- www/dummyflash/Makefile | 14 +++++--------- www/dummyflash/pkg-plist | 4 ++-- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/www/dummyflash/Makefile b/www/dummyflash/Makefile index dda7a2a6a4ae..8a937ea349ea 100644 --- a/www/dummyflash/Makefile +++ b/www/dummyflash/Makefile @@ -17,15 +17,11 @@ BUILD_WRKSRC= ${WRKSRC}/PluginSDK30b5/examples/UnixTemplate/Unix NO_WRKSUBDIR= yes MAKEFILE= makefile.freebsd -USE_WEBPLUGINS= native -WEBPLUGINS_FILES=dummyflash.so - -NO_STAGE= yes -.include -.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 +.include diff --git a/www/dummyflash/pkg-plist b/www/dummyflash/pkg-plist index 0fd01a0900ea..c1fb08d4f40b 100644 --- a/www/dummyflash/pkg-plist +++ b/www/dummyflash/pkg-plist @@ -1,2 +1,2 @@ -%%WEBPLUGINS_DIR%%/dummyflash.so -@dirrmtry %%WEBPLUGINS_DIR%% +%%WEBPLUGIN_DIR%%/dummyflash.so +@dirrmtry %%WEBPLUGIN_DIR%%