head	1.2;
access;
symbols
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2009.06.13.20.23.50;	author erwin;	state dead;
branches;
next	1.1;

1.1
date	2008.04.16.06.23.43;	author beech;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove www/toofpy as it has been marked BROKEN for over 10 months.
@
text
@#!/bin/sh

PATH=/bin:/usr/sbin

case $2 in
POST-INSTALL)
	USER=toolserver
	GROUP=${USER}
	UID=434
	GID=${UID}

	if pw group show "${GROUP}" 2>/dev/null; then
		echo "You already have a group \"${GROUP}\", so I will use it."
	else
		if pw groupadd ${GROUP} -g ${GID}; then
			echo "Added group \"${GROUP}\"."
		else
			echo "Adding group \"${GROUP}\" failed..."
			exit 1
		fi
	fi

	if pw user show "${USER}" 2>/dev/null; then
		echo "You already have a user \"${USER}\", so I will use it."
	else
		if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - -m \
			-d /home/toolserver -s /bin/csh -c "Toolserver Framework"
		then
			echo "Added user \"${USER}\"."
		else
			echo "Adding user \"${USER}\" failed..."
			exit 1
		fi
	fi
	;;
esac
@


1.1
log
@- New port TooFPy-0.3.7

From the website:

  The Toolserver Framework for Python is a framework for simple building of
  webservices. This is not Twisted - that one is much larger and much richer
  in features. If you need a full fledged webservice or internet protocol
  platform, you better go with Twisted. But if you need a lean and mean
  webservice machine, the Toolserver Framework for Python might be the right
  tool for the job.

Author: Georg Bauer <gb@@murphy.bofh.ms>
WWW:    http://pyds.muensterland.org/wiki/toolserver.html

PR:		ports/122316
Submitted by:	Frank Fenor <frank at fenor.de>
@
text
@@

