freebsd-ports/net/dgd-lpmud/pkg-deinstall
Greg Lewis 617878070a . . Make this port act more like a standard FreeBSD port:
. Don't install everything in ${PREFIX}/dgd instead place the
    executables, docs and configuration in the standard places and
    place the mudlib in DATADIR.
  . Don't use the packing list as a list of things to install.
  . Fix up the configuration file to point to the install locations.
  . Add a sample rc script which can be used to start and stop dgd
    with this mudlib (need a 5.x RCng version as well).
  . Create a user to run the dgd service as (this is the same user
    as used by the net/dgd port).
  . More standard Makefile.
  . Add a post-extract target which removes the need for do-build.
  . Add a do-configure target and remove the obsolete configure script.
. Remove devel from CATEGORIES, it really doesn't belong.  This port
  should really just be in games, but thats another story.
. Catch up dependencies with changes to net/dgd.
2003-08-29 18:40:03 +00:00

15 lines
216 B
Bash

#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=mud
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete MUD user permanently, use 'pw userdel \"${USER}\"'"
fi
exit 0