Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2005 03:29:29 -0700
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/81826: New port: www/mozplugger Plugin for viewing web content with external viewers
Message-ID:  <20050603102929.GA493@alzatex.com>
In-Reply-To: <200506030820.j538K2gs094175@freefall.freebsd.org>
References:  <1117786954.0@fbsd.ddns.alzatex.cc> <200506030820.j538K2gs094175@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050603102929.GA493>