1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/dgd/pkg-deinstall
Greg Lewis 2d3e091eb2 . 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 example kernel 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
    (need a 5.x RCng version as well).
  . Create a user to run the dgd service as (I'll reuse this user for
    ports of other mud drivers).
. Add the games category as dgd is primarily used to write muds.
. Bump PORTREVISION.
2003-08-29 18:30:08 +00:00

16 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