#! /bin/sh # $FreeBSD$ PATH=/bin:/usr/sbin DB_DIR=${PKG_PREFIX}/pgsql case $2 in PRE-INSTALL) USER=pgsql GROUP=${USER} UID=70 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 - \ -d ${DB_DIR} -c "PostgreSQL Daemon" then echo "Added user \"${USER}\"." else echo "Adding user \"${USER}\" failed..." exit 1 fi fi if ! [ -x ~pgsql ] ; then mkdir -p ${DB_DIR} chown pgsql:pgsql ${DB_DIR} fi ;; esac ='freebsd-ports-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/games/yadex
Commit message (Expand)AuthorAgeFilesLines
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* It turns out this one needs Perl during the build.danfe2006-11-011-4/+1
* Schedule these broken ports for termination on 2006-12-01kris2006-09-031-0/+2
* Remove USE_REINPLACE for categories starting with a Gedwin2006-05-081-1/+0
* SHA256ify (manually checked and updated)edwin2006-01-221-0/+6
* BROKEN: Does not buildkris2005-10-111-0/+2
* Change sequence in Makefile, so that supplied patch that fixes thedanfe2005-09-141-6/+3
* Take maintainership.danfe2005-09-131-1/+1
* Maintainer no longer has time to look after these ports. We appreciatelinimon2005-09-121-1/+1
* This port is scheduled for deletion on 2005-09-22 if it is still brokenkris2005-07-231-0/+2
* BROKEN: Does not compilekris2005-04-111-0/+2
* - Update to 1.7.0danfe2005-03-219-96/+253
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* BROKEN on alpha and amd64: Does not compilekris2004-02-251-1/+7
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* De-pkg-comment.knu2003-02-21