summaryrefslogtreecommitdiff
path: root/net/coda6_server/Makefile
blob: ced80dbfff27187581aa956cd1bf22dd0c4d5a3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	coda-server-6
# Date created:				9 september 2003
# Whom:					Tim Robbins

# $FreeBSD$

PORTNAME=	coda
PORTVERSION=	${CODA_VERSION}
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.coda.cs.cmu.edu/pub/coda/src/
PKGNAMESUFFIX=	-${CODA_SUITE}
DISTNAME=	coda-${PORTVERSION}

MAINTAINER?=	tim@robbins.dropbear.id.au
COMMENT=	Server programs for a replicated high-performance network file system

LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm \
		lwp.2:${PORTSDIR}/devel/lwp \
		rpc2.4:${PORTSDIR}/devel/rpc2 \
		rvm.2:${PORTSDIR}/devel/rvm

CONFLICTS=	coda-server-5.*

ALL_TARGET=	coda
INSTALL_TARGET=	${CODA_SUITE}-install

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS?=	--sysconfdir=${PREFIX}/etc/rc.d

CODA_SUITE?=	server
CODA_VERSION?=	6.0.2

.include <bsd.port.pre.mk>

.if ${CODA_SUITE} == client
.if ${OSVERSION} < 501106
IGNORE=		"This version of FreeBSD lacks Coda 6.x kernel support"
.endif
.endif

.include <bsd.port.post.mk>