# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ ECVS_SERVER="gmt.soest.hawaii.edu:/home/gmt/gmt/cvs" ECVS_MODULE="GMT" ECVS_USER="anonymous" ECVS_PASS="gmt-team" ECVS_AUTH="pserver" ECVS_BRANCH="" inherit cvs DESCRIPTION="" HOMEPAGE="" MAINV="${PV:0:1}" #SRC_URI="" SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT_share.tar.bz2 gmtfull? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT_full.tar.bz2) gmthigh? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT_high.tar.bz2)" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-util/cvs-1.11.16 >=sys-devel/autoconf-2.58-r1 >=sys-deve/m4-1.4-r1 ?doc (app-text/ghostscript-7.07.1-r1) ?doc (app-text/tetex-2.0.2-r3) ?doc(dev-tex/latex2html-2002.2) ?doc(app-text/man2html-1.5l-r1)" #RDEPEND="" MY_P=gmt-${PV} S=${WORKDIR}/${ECVS_MODULE} echo "S",${S} # Check: http://gmt.soest.hawaii.edu/gmt_cvs.html # for details how to do src_unpack() { # temporariamente!!!! cvs_src_unpack cd ${S} # should use a patch in guruenv.csh #setenv AWK gawk # It runs for bash AWK=gawk #setenv MAN2HTML "man2html" MAN2HTML="man2html" #alias gurumake 'make -f guru/Makefile.guru' gurumake='make -f guru/Makefile.guru' #setenv MANPATH /usr/share/man/manl/ MANPATH=/usr/share/man/manl/ #setenv NETCDFHOME /usr/local #NETCDFHOME=/usr/local NETCDFHOME=/usr cat guru/gmtguru.macros.orig | sed -e s/'=#'/'='/g | sed -e s/'GMT_US'/'#GMT_US'/g > guru/gmtguru.macros # Get coastlines #gurumake get_coast #${gurumake} get_coast echo 'A',${A} # Not OK? I don't know why!? #unpack ${A} || die #unpack GMT_share.tar.bz2 GMT_full.tar.bz2 GMT_high.tar.bz2 || die unpack GMT_share.tar.bz2 || die } src_compile() { #${gurumake} all ${gurumake} FILES config ex #(cd src; $(MAKE) -s -f ../guru/Makefile.MAN man_clean man_suppl man_install) }