head	1.2;
access;
symbols
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2005.10.11.22.10.24;	author lioux;	state dead;
branches;
next	1.1;

1.1
date	2004.05.27.21.30.09;	author pav;	state Exp;
branches;
next	;


desc
@@


1.2
log
@o Take over maintainership on previous maintainers request
o Uphold hier(7)
o Add rc.d(8) rc.subr(8) script
o Fix several warnings
o Change default rss channels to BSD based ones:
  - http://www.freebsd.org/
  - http://www.freshports.org/
  - http://www.oreillynet.com/pub/au/73
  - http://bsdnews.com/
o Fetch an updated full channel list from the Internet if none
  previously exist
o Add fork(2)/exec(3) browser support with signal(3) SIGCHLD handling
o AmphetaDesk now allows per user configurations. Due to that, it
  now requires a user with a home directory so that. One can use
  the rc.d script to choose a user to launch AmphetaDesk from startup
  or just to run it normally from any user other than root
o Bump PORTREVISION

Approved by:	Kenneth Stailey <kstailey@@yahoo.com> (previous maintainer)
@
text
@#! /bin/sh

if [ `id -un` = root ]; then
    echo Running AmphetaDesk as root is not recommended.
    echo Aborting.
    exit 1
fi

export AM_DIR=$HOME/.AmphetaDesk

if [ ! -d $AM_DIR ]; then
    if [ -e $AM_DIR ]; then
	echo Cannot make $AM_DIR directory for something is in the way.
	echo Aborting.
	exit 1
    else
	mkdir $AM_DIR
	if [ ! -d $AM_DIR ]; then
	    echo Cannot make $AM_DIR directory.
	    echo Aborting.
	    exit 1
	fi
    fi
fi

echo Diagnostic output goes to $AM_DIR/AmphetaDesk.log

cd %%ADESK%%

if [ ! -f ${AM_DIR}/data/lists/services-channels-recent.xml ] ; then
    find data -depth -print | cpio -pdum ${AM_DIR}
fi

exec ./AmphetaDesk.pl
@


1.1
log
@Add amphetadesk, an RSS feed aggregator implemented as a personal web server.

PR:		ports/65345
Submitted by:	Ken Stailey <kstailey@@yahoo.com>
@
text
@@

