aboutsummaryrefslogtreecommitdiffstats
path: root/www/dummyflash
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-12 22:12:31 +0800
committerbapt <bapt@FreeBSD.org>2013-11-12 22:12:31 +0800
commit3fdcafde2264fa7faad69262ff5adcdba85a8f4d (patch)
tree3395260da04d4cd160d09c5945b42b86caa4d489 /www/dummyflash
parentcb1194216adc47f0e92a9b0e6e47372048e2112d (diff)
downloadfreebsd-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/Makefile14
-rw-r--r--www/dummyflash/pkg-plist4
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%%