# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Romeu Henrique Capparelli Fonseca # $Header:$ # This ebuild was generated by Ebuilder v0.4. S="${WORKDIR}/${P}" DESCRIPTION="OpenSource development environment for building spatially enables Internet applications." SRC_URI="http://cvs.gis.umn.edu/dist/${P}.tar.gz" HOMEPAGE="http://mapserver.gis.umn.edu" LICENSE="mapserver" KEYWORDS="x86" IUSE="threads tiff pdf proj" DEPEND=">=media-libs/gd-2.0.12 proj? ( dev-libs/proj ) tiff? ( media-libs/tiff ) " RDEPEND="net-www/apache" src_unpack() { unpack "${P}.tar.gz" cd "${S}" } src_compile() { econf \ --host=${CHOST} \ --prefix=/usr \ `use_with tiff` \ `use_with threads` \ `use_with pdf` \ `use_with proj` \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die } src_install () { # Install documentation. dodoc INSTALL README HISTORY.TXT exeinto /var/www/localhost/cgi-bin doexe mapserv } pkg_postinst() { einfo "Now you have a cgi program called \"mapserv\" at" einfo "/var/www/localhost/cgi-bin/ directory." einfo einfo "Point your webserver to http://localhost/cgi-bin/mapserv" einfo "and you will receive the following message:" einfo einfo "\"No query information to decode. QUERY_STRING is set, but empty.\"." einfo einfo "It's working!" }