-#! /usr/bin/perl
-#
# $Id$
# Main page of 'My::Project::kix'
-# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# Copyright (C) 2003-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
use strict;
use warnings;
-BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
use My::Web;
-Wuse 'My::Project';
-Wuse 'project::kix::ListItem';
+Wuse 'project::Lib';
-My::Project->init_project(
- "__PACKAGE__"=>__PACKAGE__,
- "ListItem"=>\@project::kix::ListItem::ListItem,
+our @ListItem=(
+ "name"=>"KIX",
+ "platform"=>"unixuser",
+ "priority"=>110,
+ "download"=>"kix.c",
+ "summary"=>sub { return "Free protocol-compatible ".a_href('http://www.kali.net/','Kali').' server equivalent'; },
+ "license"=>"PD",
+ "maintenance"=>"ready",
+ "language"=>"C",
+ "description"=>sub { return <<"HERE"; },
+<p>Server used on GNU/Linux as a replacement for proprietary
+@{[ a_href 'ftp://linux.kali.net/outgoing/kalinix/','KaliNix' ]} network game server.</p>
+HERE
);
+sub handler
+{
+project::Lib->init();
+
print <<"HERE";
<p>You no longer need to run any foreign binaries on your system and connect
HERE
-My::Web->footer();
+exit;
+}
+1;