diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-28 01:32:51 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-28 01:32:51 +0000 |
commit | fefed1bf3b9a276d32ce2e6b207354d93157be22 (patch) | |
tree | 0ae96339504e1318691deaa6d74cd0ddb50f998d /devel/p4p/files | |
parent | Add gnurobots 1.0D, a game/diversion where you construct a program for a (diff) |
Update? from version 99.2 to 00.1 (Funny math). Added PORTEPOCH=1
PR: 21863
Submitted by: Samuel Tardieu <sam@inf.enst.fr> MAINTAINER
Notes
Notes:
svn path=/head/; revision=34326
Diffstat (limited to 'devel/p4p/files')
-rw-r--r-- | devel/p4p/files/perforce | 18 | ||||
-rw-r--r-- | devel/p4p/files/perforce.sh.in | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/p4p/files/perforce b/devel/p4p/files/perforce new file mode 100644 index 000000000000..9c7b8134a405 --- /dev/null +++ b/devel/p4p/files/perforce @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes diff --git a/devel/p4p/files/perforce.sh.in b/devel/p4p/files/perforce.sh.in new file mode 100644 index 000000000000..646b16f9bc8d --- /dev/null +++ b/devel/p4p/files/perforce.sh.in @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac |