ports/81826: New port: www/mozplugger Plugin for viewing web content with external viewers

Loren M. Lang lorenl at alzatex.com
Fri Jun 3 10:29:32 UTC 2005


This patch removes mozplugger.7.gz from the files directory and uses the
mozplugger.7.bz2 already in the tarball instead, first decompressing it
so it can be recompressed with gzip.  mozplugger.7.gz will have to be
removed by hand.

diff -ruN mozplugger.orig/Makefile mozplugger/Makefile
--- mozplugger.orig/Makefile	Fri Jun  3 03:27:49 2005
+++ mozplugger/Makefile	Fri Jun  3 03:10:15 2005
@@ -13,8 +13,9 @@
 MAINTAINER=    lorenl at alzatex.com
 COMMENT=       Framework for loading web content in external viewers
 
+EXTRACT_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2
+
 MAN7=          mozplugger.7
-MANCOMPRESSED= yes
 
 USE_X_PREFIX=  yes
 
@@ -23,7 +24,7 @@
 ALL_TARGET=    freebsd
 
 post-extract:
-	${CP} ${FILESDIR}/mozplugger.7.gz ${WRKSRC}
+	${BZIP2_CMD} -d ${WRKSRC}/mozplugger.7.bz2
 
 post-install:
 	@${ECHO_MSG}
Binary files mozplugger.orig/files/mozplugger.7.gz and mozplugger/files/mozplugger.7.gz differ
diff -ruN mozplugger.orig/files/patch-Makefile mozplugger/files/patch-Makefile
--- mozplugger.orig/files/patch-Makefile	Fri Jun  3 03:27:49 2005
+++ mozplugger/files/patch-Makefile	Fri Jun  3 03:12:00 2005
@@ -1,5 +1,5 @@
 --- Makefile.orig	Sat Apr 16 12:24:24 2005
-+++ Makefile	Thu Jun  2 22:23:33 2005
++++ Makefile	Fri Jun  3 03:11:52 2005
 @@ -1,5 +1,5 @@
  # Where is your Xwindows located?
 -X11=/usr/X11R6
@@ -58,7 +58,7 @@
 -	cp mozplugger.7.bz2 $(root)$(prefix)/share/man/man7/
 +	cp mozplugger.so $(root)$(prefix)/lib/browser_plugins/
 +	cp mozpluggerrc $(root)$(prefix)/etc/
-+	cp mozplugger.7.gz $(root)$(prefix)/man/man7/
++	cp mozplugger.7 $(root)$(prefix)/man/man7/
  
  mozplugger.tar.gz: $(BASE_FILES) $(SOURCE_FILES)
  	@( DIR=`pwd`;\
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 



More information about the freebsd-ports-bugs mailing list