summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-09-01 02:22:54 +0000
committerschmonz <schmonz@pkgsrc.org>2002-09-01 02:22:54 +0000
commit3e6bfff126b272f3cbd97747724fb576a8817210 (patch)
tree173111e2e18d3bc4ee7c1a28bed728c3765e1089 /devel
parent16bae308c0dc05c8b4340135e43638d3c6f5c207 (diff)
downloadpkgsrc-3e6bfff126b272f3cbd97747724fb576a8817210.tar.gz
Initial import of Perforce SCM client, release 2002.1.
P4 is a small, self-contained Perforce client program that offers access to all Perforce SCM (software configuration management) features through a command line. It can be used in command shells and scripts, and is the ideal interface for automated processes that perform SCM tasks.
Diffstat (limited to 'devel')
-rw-r--r--devel/p4/DESCR5
-rw-r--r--devel/p4/Makefile15
-rw-r--r--devel/p4/Makefile.common61
-rw-r--r--devel/p4/PLIST2
-rw-r--r--devel/p4/distinfo22
5 files changed, 105 insertions, 0 deletions
diff --git a/devel/p4/DESCR b/devel/p4/DESCR
new file mode 100644
index 00000000000..5d04fc80c8e
--- /dev/null
+++ b/devel/p4/DESCR
@@ -0,0 +1,5 @@
+P4 is a small, self-contained Perforce client program that offers
+access to all Perforce SCM (software configuration management)
+features through a command line. It can be used in command shells
+and scripts, and is the ideal interface for automated processes
+that perform SCM tasks.
diff --git a/devel/p4/Makefile b/devel/p4/Makefile
new file mode 100644
index 00000000000..799ac203769
--- /dev/null
+++ b/devel/p4/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/01 02:22:54 schmonz Exp $
+#
+
+DISTNAME= p4
+HOMEPAGE= http://www.perforce.com/perforce/products/p4.html
+COMMENT= Perforce SCM command-line client
+
+P4BINONLY= # defined
+
+.include "../../devel/p4/Makefile.common"
+
+do-install:
+ ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p4/Makefile.common b/devel/p4/Makefile.common
new file mode 100644
index 00000000000..7c99c5a9ac5
--- /dev/null
+++ b/devel/p4/Makefile.common
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2002/09/01 02:22:54 schmonz Exp $
+#
+
+P4_VERS= 2002.1
+PKGNAME= ${DISTNAME}-${P4_VERS}
+CATEGORIES= devel
+MAINTAINER= schmonz@netbsd.org
+
+WRKSRC= ${WRKDIR}
+NO_PATCH= # defined
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+DIST_SUBDIR= perforce
+
+.if defined(P4BINONLY)
+
+DIST_SUBDIR= perforce/${P4ARCH}
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r02.1/bin.${P4ARCH}/
+DISTFILES= ${DISTNAME}
+EXTRACT_ONLY= # none
+
+_STRIPFLAG_INSTALL= # none
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+. if ${MACHINE_ARCH} == "powerpc"
+P4ARCH?= darwinppc
+. endif
+.elif ${OPSYS} == "Linux"
+. if ${MACHINE_ARCH} == "arm"
+P4ARCH?= linuxarm
+. elif ${MACHINE_ARCH} == "i386"
+P4ARCH?= linux24x86
+. elif ${MACHINE_ARCH} == "powerpc"
+P4ARCH?= linuxppc
+. elif ${MACHINE_ARCH} == "sparc"
+P4ARCH?= linux52sparc
+. endif
+.elif ${OPSYS} == "NetBSD"
+. if ${MACHINE_ARCH} == "alpha"
+P4ARCH?= netbsdaxp
+. elif ${MACHINE_ARCH} == "i386"
+P4ARCH?= netbsdx86
+. elif ${MACHINE_ARCH} == "sparc"
+P4ARCH?= sunos # XXX COMPAT_SUNOS
+. endif
+.elif ${OPSYS} == "SunOS"
+. if ${MACHINE_ARCH} == "i386"
+P4ARCH?= solaris26x86
+. elif ${MACHINE_ARCH} == "sparc"
+P4ARCH?= solaris26
+. endif
+.endif
+
+.if !defined(P4ARCH)
+NOT_FOR_PLATFORM= ${MACHINE_PLATFORM}
+.endif
+
+.endif # P4BINONLY
diff --git a/devel/p4/PLIST b/devel/p4/PLIST
new file mode 100644
index 00000000000..f78b99d64c8
--- /dev/null
+++ b/devel/p4/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/01 02:22:54 schmonz Exp $
+bin/p4
diff --git a/devel/p4/distinfo b/devel/p4/distinfo
new file mode 100644
index 00000000000..fa661210d10
--- /dev/null
+++ b/devel/p4/distinfo
@@ -0,0 +1,22 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/01 02:22:54 schmonz Exp $
+
+SHA1 (perforce/darwinppc/p4) = 6e8e92ca35d15dd112c81785745a896f377eaaff
+Size (perforce/darwinppc/p4) = 500120 bytes
+SHA1 (perforce/linux24x86/p4) = 83bc0824494aee612b71ce141ab71b7bedfa66fd
+Size (perforce/linux24x86/p4) = 451808 bytes
+SHA1 (perforce/linux52sparc/p4) = 7f8ce1b8974d8a07e0f9a0a89c4051f1d64d764b
+Size (perforce/linux52sparc/p4) = 436892 bytes
+SHA1 (perforce/linuxarm/p4) = fdfe0f9179d163662b09371d22c04d2e4b266d70
+Size (perforce/linuxarm/p4) = 472656 bytes
+SHA1 (perforce/linuxppc/p4) = 3f48346303291383b62ce23c2857a21a9666c658
+Size (perforce/linuxppc/p4) = 840812 bytes
+SHA1 (perforce/netbsdaxp/p4) = b39fb6ade9b37a84cbc600cd8fa1550d80198780
+Size (perforce/netbsdaxp/p4) = 607552 bytes
+SHA1 (perforce/netbsdx86/p4) = 778266ebc5c8051b24090ba5a1857b65abaaa2e9
+Size (perforce/netbsdx86/p4) = 447312 bytes
+SHA1 (perforce/solaris26/p4) = e22b8d1b616d5c300330eb1b5946e68e60fff2ff
+Size (perforce/solaris26/p4) = 607448 bytes
+SHA1 (perforce/solaris26x86/p4) = 8218891d7be40643f2034a6661a81fb0b57c870b
+Size (perforce/solaris26x86/p4) = 426116 bytes
+SHA1 (perforce/sunos/p4) = cb690dc9333f73eba9b629ce6968c69e8ef8124d
+Size (perforce/sunos/p4) = 548864 bytes