# $Id: Portfile,v 1.4 2005/02/21 08:10:21 toby Exp $

PortSystem 1.0
name             aolserver
version          4.0.10
categories       www
maintainers      toby@opendarwin.org
description      America Online's open-source web server
long_description \
    AOLserver is America Online's open-source web server. AOLserver is the \
    backbone of the largest and busiest production environments in the \
    world. AOLserver is a multithreaded, Tcl-enabled web server used for \
    large scale, dynamic web sites.
homepage         http://www.aolserver.com/
platforms        darwin
master_sites     sourceforge
distname         ${name}-${version}-src
checksums        md5 8c17261055f1326d012b84fcc66ffb26
depends_lib      lib:libtcl8.4:tcl
worksrcdir       ${name}-${version}

configure.pre_args --prefix=${prefix}/aolserver
destroot.destdir AOLSERVER=${destroot}${prefix}/aolserver

post-install {
    ui_msg ""
    ui_msg "AOLserver installed into ${prefix}/aolserver"
    ui_msg ""
    ui_msg "You now need to configure the server to your needs. You "
    ui_msg "might want to create another user (e.g. aolserver) to run "
    ui_msg "the server."
}
