From 425e42a3e26ba1b66be1aa01a4d13d15b7450da7 Mon Sep 17 00:00:00 2001
From: jdp <jdp@FreeBSD.org>
Date: Tue, 28 Dec 1999 05:35:43 +0000
Subject: These ports are supported on FreeBSD/Alpha systems now (post sigset_t
 4.x versions only).

---
 net/cvsup-bin/Makefile | 12 ++++++++----
 net/cvsup-bin/distinfo |  1 +
 2 files changed, 9 insertions(+), 4 deletions(-)

(limited to 'net/cvsup-bin')

diff --git a/net/cvsup-bin/Makefile b/net/cvsup-bin/Makefile
index 227d512..edb6a76 100644
--- a/net/cvsup-bin/Makefile
+++ b/net/cvsup-bin/Makefile
@@ -12,18 +12,22 @@ MASTER_SITES=	ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/binaries/
 
 MAINTAINER=	jdp@freebsd.org
 
+.include <bsd.port.pre.mk>
+
 .if ${MACHINE_ARCH} == "i386"
 DISTFILES=	cvsup-freebsd-ix86-${PORTOBJFORMAT}-16.1${EXTRACT_SUFX}
 .else
-DISTFILES=	cvsup.nogui-freebsd-${MACHINE_ARCH}-16.1${EXTRACT_SUFX}
-WRKSRC=		${WRKDIR}/cvsup.nogui-bin-16.1
+.if ${OSVERSION} >= 400011
+DISTFILES=	cvsup-freebsd4-${MACHINE_ARCH}-16.1${EXTRACT_SUFX}
+.else
+BROKEN=		Not supported for pre-4.0 FreeBSD/Alpha versions
+.endif
 .endif
 
 NO_BUILD=	yes
 
 MAN1=		cvpasswd.1 cvsup.1
 MANCOMPRESSED=	yes
-NOT_FOR_ARCHS=	alpha
 STRIP=
 
 do-install:
@@ -33,4 +37,4 @@ do-install:
 	${INSTALL_MAN} ${WRKSRC}/${file}.gz ${PREFIX}/man/man1
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/cvsup-bin/distinfo b/net/cvsup-bin/distinfo
index b9c6955..c33253b 100644
--- a/net/cvsup-bin/distinfo
+++ b/net/cvsup-bin/distinfo
@@ -1,2 +1,3 @@
 MD5 (cvsup-freebsd-ix86-aout-16.1.tar.gz) = f81c01faf7c5fbbfe4c871243d452871
 MD5 (cvsup-freebsd-ix86-elf-16.1.tar.gz) = d437c49af3068e23237d3e05755178a6
+MD5 (cvsup-freebsd4-alpha-16.1.tar.gz) = ac7daa10068f5d8bec4cf3c7242b2bbb
-- 
cgit v1.1