Date: Wed, 9 Apr 2014 14:12:00 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350709 - head/www/plugger Message-ID: <201404091412.s39EC0ar066654@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Apr 9 14:12:00 2014 New Revision: 350709 URL: http://svnweb.freebsd.org/changeset/ports/350709 QAT: https://qat.redports.org/buildarchive/r350709/ Log: Support stage USES=webplugin Modified: head/www/plugger/Makefile head/www/plugger/pkg-plist Modified: head/www/plugger/Makefile ============================================================================== --- head/www/plugger/Makefile Wed Apr 9 14:10:48 2014 (r350708) +++ head/www/plugger/Makefile Wed Apr 9 14:12:00 2014 (r350709) @@ -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> Modified: head/www/plugger/pkg-plist ============================================================================== --- head/www/plugger/pkg-plist Wed Apr 9 14:10:48 2014 (r350708) +++ head/www/plugger/pkg-plist Wed Apr 9 14:12:00 2014 (r350709) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404091412.s39EC0ar066654>