summaryrefslogtreecommitdiff
path: root/net/openafs/Makefile
blob: 4159fa28177c23364374755ea5314a3dfceafa73 (plain)
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
44
45
46
# $NetBSD: Makefile,v 1.6 2005/06/10 15:57:05 gendalia Exp $

DISTNAME=	openafs-1.3.84-src
PKGNAME=	${DISTNAME:C/-src//}
CATEGORIES=	net sysutils
MASTER_SITES=	http://www.openafs.org/dl/openafs/1.3.84/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	gendalia@NetBSD.org
HOMEPAGE=	http://www.openafs.org/
COMMENT=	File system for sharing, scalability and transparent data migration

CONFLICTS+=	lwp-[0-9]*
CONFLICTS+=	rx-[0-9]*
CONFLICTS+=	arla-[0-9]*

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-largefile-fileserver --enable-fast-restart
CONFIGURE_ARGS+= --enable-bitmap-later --disable-kernel-module
CONFIGURE_ARGS+= --enable-debug --enable-bos-new-config
CONFIGURE_ARGS+= --enable-namei-fileserver
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}

USE_GNU_CONFIGURE_HOST= no

WRKSRC=		${WRKDIR}/${PKGNAME}

PKG_SUPPORTED_OPTIONS = pam
PKG_OPTIONS_VAR       = PKG_OPTIONS.openafs
.include "../../mk/bsd.options.mk"

USE_PKGINSTALL=		yes

.if !empty(PKG_OPTIONS:Mpam)
CONFIGURE_ARGS+=        --enable-pam
.include "../../mk/pam.buildlink3.mk"
PLIST_SRC+=		${.CURDIR}/PLIST.pam
.else
CONFIGURE_ARGS+=        --disable-pam
.endif
PLIST_SRC+=		${.CURDIR}/PLIST
OWN_DIRS+=		${VARBASE}/openafs
OWN_DIRS+=		${VARBASE}/openafs/db
OWN_DIRS+=		${VARBASE}/openafs/logs

.include "../../mk/bsd.pkg.mk"