diff options
-rw-r--r-- | www/mozplugger/Makefile | 20 | ||||
-rw-r--r-- | www/mozplugger/pkg-plist | 4 |
2 files changed, 7 insertions, 17 deletions
diff --git a/www/mozplugger/Makefile b/www/mozplugger/Makefile index bdd169f24051..c57f0e448aa2 100644 --- a/www/mozplugger/Makefile +++ b/www/mozplugger/Makefile @@ -11,25 +11,15 @@ COMMENT= Framework for loading web content in external viewers GNU_CONFIGURE= yes USE_XORG= x11 xt -USES= gmake -MAN7= mozplugger.7 +USES= desthack gmake webplugin:native SUB_FILES= pkg-message -USE_WEBPLUGINS= native -WEBPLUGINS_FILES=mozplugger.so -MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGINS_DIR}" - -NO_STAGE= yes -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/www/firefox/Makefile.webplugins" +WEBPLUGIN_FILES=mozplugger.so +MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGIN_DIR}" +MAKE_ARGS= root=${STAGEDIR} post-patch: @${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|g' \ ${WRKSRC}/mozplugger.c -post-install: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/mozplugger/pkg-plist b/www/mozplugger/pkg-plist index 0b6ecf63bdb7..b24231d05fc6 100644 --- a/www/mozplugger/pkg-plist +++ b/www/mozplugger/pkg-plist @@ -3,5 +3,5 @@ bin/mozplugger-helper bin/mozplugger-linker bin/mozplugger-update etc/mozpluggerrc -%%WEBPLUGINS_DIR%%/mozplugger.so -@dirrmtry %%WEBPLUGINS_DIR%% +man/man7/mozplugger.7.gz +%%WEBPLUGIN_DIR%%/mozplugger.so |