1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Convert to the new USES=webplugin

Allow staging
This commit is contained in:
Baptiste Daroussin 2013-11-12 14:12:31 +00:00
parent 08348196a9
commit a0d4a6dc3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333573
2 changed files with 7 additions and 11 deletions

View File

@ -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 <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>

View File

@ -1,2 +1,2 @@
%%WEBPLUGINS_DIR%%/dummyflash.so
@dirrmtry %%WEBPLUGINS_DIR%%
%%WEBPLUGIN_DIR%%/dummyflash.so
@dirrmtry %%WEBPLUGIN_DIR%%