aboutsummaryrefslogtreecommitdiff
path: root/www/mozplugger
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-09 14:04:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-09 14:04:38 +0000
commit9d18caf8b5bef7bb7b7743f9f533a43cab0d179a (patch)
tree3bbf8410336d92c6cfedaa703d4b62f0c93e9a9b /www/mozplugger
parent6549cdae72f2d86a7285904fb09e1cddcf6b2bdd (diff)
downloadports-9d18caf8b5bef7bb7b7743f9f533a43cab0d179a.tar.gz
ports-9d18caf8b5bef7bb7b7743f9f533a43cab0d179a.zip
Notes
Diffstat (limited to 'www/mozplugger')
-rw-r--r--www/mozplugger/Makefile20
-rw-r--r--www/mozplugger/pkg-plist4
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