summaryrefslogtreecommitdiffstats
path: root/devel/p4p/files
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2000-10-28 01:32:51 +0000
committerjeh <jeh@FreeBSD.org>2000-10-28 01:32:51 +0000
commit887bd439d5f43c0a896b99c2a1c0f29001b36eda (patch)
tree41afeafa3476cbf1e729382106ecef0ff4dbf912 /devel/p4p/files
parent476fd13bd921aee5dc3e4c34dc0a8863dc6350a4 (diff)
downloadFreeBSD-ports-887bd439d5f43c0a896b99c2a1c0f29001b36eda.zip
FreeBSD-ports-887bd439d5f43c0a896b99c2a1c0f29001b36eda.tar.gz
Update? from version 99.2 to 00.1 (Funny math). Added PORTEPOCH=1
PR: 21863 Submitted by: Samuel Tardieu <sam@inf.enst.fr> MAINTAINER
Diffstat (limited to 'devel/p4p/files')
-rw-r--r--devel/p4p/files/perforce18
-rw-r--r--devel/p4p/files/perforce.sh.in11
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/p4p/files/perforce b/devel/p4p/files/perforce
new file mode 100644
index 0000000..9c7b813
--- /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 0000000..646b16f
--- /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
OpenPOWER on IntegriCloud