diff options
author | Lars Thegler <lth@FreeBSD.org> | 2006-08-27 20:34:34 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2006-08-27 20:34:34 +0000 |
commit | d164a0ce10dc3b0fcd270f7b751118dc074f22d9 (patch) | |
tree | 0bd7085a191797b3b712e7c276c91b13abea3c9c /devel/p4ftpd/Makefile | |
parent | Redirect anyone who picked up net-im/gaim-devel to net-im/gaim. (diff) |
Update to 06.1
PR: ports/102375
Submitted by: Mike Meyer <mwm@mired.org>
Notes
Notes:
svn path=/head/; revision=171484
Diffstat (limited to 'devel/p4ftpd/Makefile')
-rw-r--r-- | devel/p4ftpd/Makefile | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/devel/p4ftpd/Makefile b/devel/p4ftpd/Makefile index ecce54ce53c2..8555493bd9aa 100644 --- a/devel/p4ftpd/Makefile +++ b/devel/p4ftpd/Makefile @@ -18,6 +18,10 @@ EXTRACT_ONLY= # none MAINTAINER= lth@FreeBSD.org COMMENT= Perforce client and server +ONLY_FOR_ARCHS= i386 amd64 alpha +DIST_SUBDIR= perforce/${VERSION}/${ARCH} +MD5_FILE= ${MASTERDIR}/distinfo.${PLATFORM} + # # This is a kludge. I don't know a better way to set PORTVERSION and # PORTREVISION such that pkg_version figures out an update is needed @@ -26,26 +30,20 @@ ARCH!= /usr/bin/uname -p ARCH?= i386 .if (${ARCH} == i386) || (${ARCH} == amd64) -DIST_SUBDIR= perforce/${VERSION}/i386 -VERSION= 05.2 -REVISION= 3 -PLATFORM= freebsd4 +VERSION= 06.1 BIN_FILES= p4 SBIN_FILES= p4d p4ftpd p4p p4web -REL_NOTES= http://www.perforce.com/perforce/doc.052/user/relnotes.txt -MD5_FILE= ${MASTERDIR}/distinfo.i386 +REL_NOTES= http://www.perforce.com/perforce/doc.061/user/relnotes.txt .elif ${ARCH} == alpha -DIST_SUBDIR= perforce/${VERSION}/${ARCH} VERSION= 99.1 REVISION= 1 PLATFORM= freebsdaxp BIN_FILES= p4 SBIN_FILES= p4d REL_NOTES= http://www.perforce.com/perforce/doc.991/user/relnotes.txt -MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .else VERSION= 0 -IGNORE= "Unsupported platform, sorry." +IGNORE= unsupported platform, sorry .endif # End of kludge @@ -60,6 +58,28 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \ .include <bsd.port.pre.mk> +# Figure out what to install +.if (${ARCH} == i386) || (${ARCH} == amd64) +.if ${OSVERSION} > 504000 +.if ${ARCH} == amd64 +PLATFORM= freebsd54x86_64 +.else +PLATFORM= freebsd54x86 +.endif +.elif ${OSVERSION} > 400000 +PLATFORM= freebsd4 +.else +INGORE= only supported on FreeBSD 4.x and greater +.endif +.endif + +# Add compatability dependencies. +.if ${OSVERSION} > 600000 +LIB_DEPENDS+= c_r.5:${PORTSDIR}/misc/compat5x +.elif (${OSVERSION} < 540000) && (${OSVERSION} > 500000) +LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x +.endif + # These variables are all configurable. PERFORCE_USER?= p4admin PERFORCE_UID?= 94 |