[23027] trunk/dports/lang/gcj34/Portfile

Weissmann Markus mww at macports.org
Thu Mar 22 11:04:06 PDT 2007


+    cd ${destroot}${prefix}/${name}-${version}/share/man/
+    foreach n {1 7} {
+        foreach f [glob man${n}/*.${n}] {
+            system "gzip -9 ${f}"
+        }
+    }

Whats the deal with compressing the manfiles explicitly? Does the  
auto-compression not work here? (And why? And why not fix it globally?)


thanks,

-Markus

On 22.03.2007, at 17:25, source_changes at macosforge.org wrote:

> Revision 23027 Author pipping at macports.org Date 2007-03-22 09:25:20  
> -0700 (Thu, 22 Mar 2007) Log Message * bump version to 3.4.6 *  
> depend on and link against libiconv * force compression of manpages  
> Modified Paths
> trunk/dports/lang/gcj34/Portfile
> Diff
> Modified: trunk/dports/lang/gcj34/Portfile (23026 => 23027) ---  
> trunk/dports/lang/gcj34/Portfile	2007-03-22 14:05:21 UTC (rev  
> 23026) +++ trunk/dports/lang/gcj34/Portfile	2007-03-22 16:25:20 UTC  
> (rev 23027) @@ -2,7 +2,7 @@ PortSystem	 1.0 name	 gcj34 -version  
> 3.4.5 +version	 3.4.6 categories	 lang devel java maintainers	  
> nomaintainer at macports.org description	 GNU Java compiler @@ -15,26  
> +15,29 @@ platforms	 darwin homepage	 http://www.gnu.org/software/ 
> gcc/java/ -master_sites	 gnu:gcc/gcc-3.4.5 +distname	 gcc-$ 
> {version} +master_sites	 gnu:gcc/${distname} use_bzip2	 yes  
> dist_subdir	 gcc -distname	 gcc-${version} -checksums	 md5  
> 7c3c3c3e764dcee5eb771432062d69e1 +checksums	 md5  
> 4a21ac777d4b5617283ce488b808da7b \ + sha1  
> 97b290fdc572c8e490b3b39f243e69bacad23c2b \ + rmd160  
> b15003368cedc7964f6ceaee0c39ddc43a46c442 worksrcdir ${distname}/ 
> build -depends_lib	 port:zlib +depends_lib	 port:libiconv port:zlib  
> patchfiles	 patch-libjava_libltdl_ltmain.sh patch-ltmain.sh    pre- 
> patch { -	file mkdir ${worksrcpath} +	xinstall -d ${worksrcpath} }  
> set gcjBaseDir	 ${prefix}/${name}-${version} configure.cmd $ 
> {worksrcpath}/../configure -configure.env	 CPPFLAGS="-I${prefix}/ 
> include" LDFLAGS="-L${prefix}/lib" +configure.env	 CPPFLAGS="-I$ 
> {prefix}/include" LDFLAGS="-L${prefix}/lib" \ + LIBS=-liconv  
> configure.pre_args	--prefix=${gcjBaseDir} configure.args	 --enable- 
> languages=c++,java --disable-nls \ --with-system-zlib --mandir=$ 
> {gcjBaseDir}/share/man \ @@ -45,6 +48,12 @@ # Since we install in a  
> subdir dedicated to gcj, this gets it visibility post-destroot { +  
> cd ${destroot}${prefix}/${name}-${version}/share/man/ + foreach n  
> {1 7} { + foreach f [glob man${n}/*.${n}] { + system "gzip -9 ${f}"  
> + } + } set gcjLinkFiles	{ gcj gcjh gij grepjar jcf-dump jv-convert  
> jv-scan } cd ${destroot}/${prefix}/bin foreach gcjBinFile $ 
> {gcjLinkFiles} { @@ -53,7 +62,7 @@ cd ${destroot}/${prefix}/share/ 
> man/man1 foreach gcjManFile ${gcjLinkFiles} { system "ln -s \  
> -	 ../../../${name}-${version}/share/man/man1/${gcjManFile}.1 ."  
> +	 ../../../${name}-${version}/share/man/man1/${gcjManFile}. 
> 1.gz ." } xinstall -m 755 -d ${destroot}/${prefix}/lib/pkgconfig cd  
> ${destroot}/${prefix}/lib/pkgconfig
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes

---
Markus W. Weissmann
http://www.mweissmann.de/





More information about the macports-dev mailing list