diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-09-01 02:22:54 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-09-01 02:22:54 +0000 |
commit | 3e6bfff126b272f3cbd97747724fb576a8817210 (patch) | |
tree | 173111e2e18d3bc4ee7c1a28bed728c3765e1089 /devel/p4/Makefile.common | |
parent | 16bae308c0dc05c8b4340135e43638d3c6f5c207 (diff) | |
download | pkgsrc-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/p4/Makefile.common')
-rw-r--r-- | devel/p4/Makefile.common | 61 |
1 files changed, 61 insertions, 0 deletions
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 |