From edcfbb3fc66e119fde994f9438324a77246f1a9d Mon Sep 17 00:00:00 2001 From: lioux Date: Sat, 15 Dec 2001 14:29:57 +0000 Subject: o Unbreak for mozilla 0.9.6 and later versions. Mozilla no longer recognizes plugins unless they start with libnp or np. Since plugger's plugin was named plugger.so, this caused it to be disabled. o Fix this and bump PORTREVISION. PR: 32847 Submitted by: maintainer --- www/plugger/Makefile | 5 +++-- www/plugger/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/plugger/Makefile b/www/plugger/Makefile index 39d59718f5a8..804b3f20920d 100644 --- a/www/plugger/Makefile +++ b/www/plugger/Makefile @@ -7,7 +7,7 @@ PORTNAME= plugger PORTVERSION= 3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www audio graphics MASTER_SITES= http://fredrik.hubbe.net/plugger/ \ ftp://ftp.netscape.com/pub/sdk/plugin/unix/ @@ -39,7 +39,8 @@ post-patch: ${WRKSRC}/plugger.c.orig > ${WRKSRC}/plugger.c do-install: - @${INSTALL_DATA} ${WRKSRC}/plugger.so ${PREFIX}/lib/mozilla/plugins + @${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \ + ${PREFIX}/lib/mozilla/plugins/npplugger.so @${INSTALL_MAN} ${WRKSRC}/plugger.7 ${MANPREFIX}/man/man7 @${INSTALL_DATA} ${WRKSRC}/pluggerrc ${PREFIX}/etc/pluggerrc.sample @${INSTALL_DATA} -b ${WRKSRC}/pluggerrc ${PREFIX}/etc diff --git a/www/plugger/pkg-plist b/www/plugger/pkg-plist index 0f565b84f48d..3316d26e7dcf 100644 --- a/www/plugger/pkg-plist +++ b/www/plugger/pkg-plist @@ -1,4 +1,4 @@ -lib/mozilla/plugins/plugger.so +lib/mozilla/plugins/npplugger.so @unexec if [ -f %D/etc/pluggerrc ]; then cmp -s %D/etc/pluggerrc.sample %D/etc/pluggerrc && rm -f %D/etc/pluggerrc || echo "If you are permanently removing this port, you should do a ``rm -f ${PKG_PREFIX}/etc/pluggerrc`` to remove configuration files left." | fmt ; fi @unexec if [ -f %D/etc/pluggerrc.old ]; then echo "If you are permanently removing this port, you should do a ``rm -f ${PKG_PREFIX}/etc/pluggerrc.old`` to remove backup configuration files left." | fmt ; fi etc/pluggerrc.sample -- cgit