summaryrefslogtreecommitdiff
path: root/devel/p4d/Makefile
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2008-01-14 15:09:30 +0000
committerLars Thegler <lth@FreeBSD.org>2008-01-14 15:09:30 +0000
commitd04ab12b9991a533dc5b951a8d16d5829804fa1a (patch)
tree724a9f8b0829291ec8116fbf394c7e32d978c17f /devel/p4d/Makefile
parent- Install files in contrib/ directory. (diff)
- Update to 2007.3
- Also see: http://www.perforce.com/perforce/doc.073/user/relnotes.txt
Notes
Notes: svn path=/head/; revision=205651
Diffstat (limited to 'devel/p4d/Makefile')
-rw-r--r--devel/p4d/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile
index 785ca7676a02..a0c44df7b469 100644
--- a/devel/p4d/Makefile
+++ b/devel/p4d/Makefile
@@ -32,11 +32,10 @@ ARCH!= /usr/bin/uname -p
ARCH?= i386
.if ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == sparc64
-VERSION= 06.2
-REVISION= 3
+VERSION= 07.3
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
-REL_NOTES= http://www.perforce.com/perforce/doc.062/user/relnotes.txt
+REL_NOTES= http://www.perforce.com/perforce/doc.073/user/relnotes.txt
.elif ${ARCH} == alpha
VERSION= 99.1
REVISION= 1
@@ -59,22 +58,20 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
-.if ${ARCH} == sparc64 && ${OSVERSION} > 700017
-BROKEN= requires compat6x, which has not yet been relased
-.endif
-
# Figure out what to install
.if ${ARCH} == alpha
PLATFORM= freebsdaxp
.elif ${ARCH} == amd64
+.if ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
PLATFORM= freebsd54x86_64
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c_r.5:${PORTSDIR}/misc/compat5x
+.elif ${OSVERSION} >= 600000
+PLATFORM= freebsd60x86_64
.endif
.elif ${ARCH} == i386
+.if ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
PLATFORM= freebsd54x86
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c_r.5:${PORTSDIR}/misc/compat5x
+.elif ${OSVERSION} >= 600000
+PLATFORM= freebsd60x86
.endif
.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
PLATFORM= freebsd61sparc64
@@ -82,6 +79,10 @@ PLATFORM= freebsd61sparc64
IGNORE= unsupported OS release, sorry
.endif
+.if ${OSVERSION} >= 700043
+LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
+.endif
+
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94