aboutsummaryrefslogtreecommitdiff
path: root/devel/p4d/files
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-10-28 01:32:51 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-10-28 01:32:51 +0000
commitfefed1bf3b9a276d32ce2e6b207354d93157be22 (patch)
tree0ae96339504e1318691deaa6d74cd0ddb50f998d /devel/p4d/files
parent5321816733b99598b98461ec1e15fa41101a2543 (diff)
downloadports-fefed1bf3b9a276d32ce2e6b207354d93157be22.tar.gz
ports-fefed1bf3b9a276d32ce2e6b207354d93157be22.zip
Notes
Diffstat (limited to 'devel/p4d/files')
-rw-r--r--devel/p4d/files/perforce18
-rw-r--r--devel/p4d/files/perforce.sh.in11
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/p4d/files/perforce b/devel/p4d/files/perforce
new file mode 100644
index 000000000000..9c7b8134a405
--- /dev/null
+++ b/devel/p4d/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/p4d/files/perforce.sh.in b/devel/p4d/files/perforce.sh.in
new file mode 100644
index 000000000000..646b16f9bc8d
--- /dev/null
+++ b/devel/p4d/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