diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-12 22:12:31 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-12 22:12:31 +0800 |
commit | 3fdcafde2264fa7faad69262ff5adcdba85a8f4d (patch) | |
tree | 3395260da04d4cd160d09c5945b42b86caa4d489 /www/dummyflash | |
parent | cb1194216adc47f0e92a9b0e6e47372048e2112d (diff) | |
download | freebsd-ports-gnome-3fdcafde2264fa7faad69262ff5adcdba85a8f4d.tar.gz freebsd-ports-gnome-3fdcafde2264fa7faad69262ff5adcdba85a8f4d.tar.zst freebsd-ports-gnome-3fdcafde2264fa7faad69262ff5adcdba85a8f4d.zip |
Convert to the new USES=webplugin
Allow staging
Diffstat (limited to 'www/dummyflash')
-rw-r--r-- | www/dummyflash/Makefile | 14 | ||||
-rw-r--r-- | 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 <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> 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%% |