[23027] trunk/dports/lang/gcj34/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 22 09:25:20 PDT 2007
Revision: 23027
http://trac.macosforge.org/projects/macports/changeset/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
Modified: trunk/dports/lang/gcj34/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070322/d320557e/attachment.html
More information about the macports-changes
mailing list