diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-09 14:12:00 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-09 14:12:00 +0000 |
commit | 2fd7cddd89e598a8566067c1efc26fbf676912ce (patch) | |
tree | 8e860e8a0ee5ae4bdec91c6ed5e4a31e9733e89d /www/plugger | |
parent | d7401fb53d1ec0c9805848fff62cb51c6c8b0a1b (diff) | |
download | ports-2fd7cddd89e598a8566067c1efc26fbf676912ce.tar.gz ports-2fd7cddd89e598a8566067c1efc26fbf676912ce.zip |
Notes
Diffstat (limited to 'www/plugger')
-rw-r--r-- | www/plugger/Makefile | 46 | ||||
-rw-r--r-- | www/plugger/pkg-plist | 4 |
2 files changed, 17 insertions, 33 deletions
diff --git a/www/plugger/Makefile b/www/plugger/Makefile index 2008607f5cc3..aff9309bfa48 100644 --- a/www/plugger/Makefile +++ b/www/plugger/Makefile @@ -10,17 +10,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Multimedia front-end plugin for Mozilla or Opera USE_XORG= xext xt sm ice xext x11 +USES= webplugin:native GNU_CONFIGURE= yes -MAN7= plugger.7 PKGDEINSTALL= ${PKGINSTALL} -USE_WEBPLUGINS= native -WEBPLUGINS_FILES=npplugger.so +WEBPLUGIN_FILES=npplugger.so -NO_STAGE= yes -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/www/firefox/Makefile.webplugins" post-patch: @${REINPLACE_CMD} -e \ @@ -28,27 +24,19 @@ post-patch: s|+useFrontEndProgram||g' \ ${WRKSRC}/pluggerrc -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/plugger-${PORTVERSION} \ - ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/plugger-controller \ - ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/plugger-oohelper \ - ${PREFIX}/bin - @${MKDIR} ${WEBPLUGINS_DIR} - @${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \ - ${WEBPLUGINS_DIR}/npplugger.so - @if [ -f ${PREFIX}/etc/pluggerrc-${PORTVERSION} ]; then \ - ${MV} ${PREFIX}/etc/pluggerrc-${PORTVERSION} \ - ${PREFIX}/etc/pluggerrc-${PORTVERSION}.old; \ - fi - @${INSTALL_DATA} ${WRKSRC}/pluggerrc \ - ${PREFIX}/etc/pluggerrc-${PORTVERSION}.sample - @${INSTALL_MAN} ${WRKSRC}/plugger.7 ${MANPREFIX}/man/man7 + ${INSTALL_PROGRAM} ${WRKSRC}/plugger-${PORTVERSION} \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/plugger-controller \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/plugger-oohelper \ + ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR} + ${INSTALL_LIB} ${WRKSRC}/plugger.so \ + ${STAGEDIR}${WEBPLUGIN_DIR}/npplugger.so + ${INSTALL_DATA} ${WRKSRC}/pluggerrc \ + ${STAGEDIR}${PREFIX}/etc/pluggerrc-${PORTVERSION}.sample + ${INSTALL_MAN} ${WRKSRC}/plugger.7 ${STAGEDIR}${MANPREFIX}/man/man7 local-install: @${MKDIR} ${HOME}/.plugger @@ -75,8 +63,4 @@ local-opera-install: local-install @${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \ ${HOME}/.opera/plugins/npplugger.so -post-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} POST-INSTALL - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/plugger/pkg-plist b/www/plugger/pkg-plist index 41bc7d322710..b81276f5561f 100644 --- a/www/plugger/pkg-plist +++ b/www/plugger/pkg-plist @@ -3,5 +3,5 @@ bin/plugger-controller bin/plugger-oohelper @unexec if cmp %D/etc/pluggerrc-5.1.5.sample %D/etc/pluggerrc-5.1.5 2>/dev/null; then rm -f %D/etc/pluggerrc-5.1.5; fi etc/pluggerrc-5.1.5.sample -%%WEBPLUGINS_DIR%%/npplugger.so -@dirrmtry %%WEBPLUGINS_DIR%% +man/man7/plugger.7.gz +%%WEBPLUGIN_DIR%%/npplugger.so |