summaryrefslogtreecommitdiff
path: root/net/arla/Makefile
blob: efecb1d4e68c675d68f12d4bc0f41e0fdd990cdf (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# New ports collection makefile for:	arla
# Date created:			09 Sep 1998
# Whom:				Peter Hawkins <thepish@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	arla
PORTVERSION=	0.38
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.stacken.kth.se/pub/arla/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A free AFS client implementation

USE_XLIB=	yes
USE_RC_SUBR=	arla.sh
USE_INC_LIBTOOL_VER=15
INSTALLS_SHLIB=	yes

BROKEN=		Broken pkg-plist

.if !exists(/usr/src/sys/kern/vnode_if.src)
IGNORE=		requires kernel source
.endif

CONFIGURE_ARGS=	--with-roken=${LOCALBASE}

.if defined(WITHOUT_KRB5)
CONFIGURE_ARGS+=--without-krb5
.elif !defined(WITH_SYSTEM_HEIMDAL)
LIB_DEPENDS+=	krb5.20:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--with-krb5=${LOCALBASE}
.else
CONFIGURE_ARGS+=--with-krb5=/usr
.endif

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=

.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
WITHOUT_NNPFS=	YES
.endif

MAN1=		afstool.1 arla-send-pr.1 kalog.1 pts.1 rxdebug.1 \
		tokens.1 udebug.1
MAN3=		arg_printusage.3 getarg.3 log_close.3 log_get_mask.3 \
		log_log.3 log_mask2str.3 log_open.3 log_set_mask.3 \
		log_set_mask_str.3 log_unit_free.3 log_unit_init.3 \
		log_vlog.3
MAN5=		AliasDB.5 CellServDB.5 DynRootDB.5 SuidCells.5 \
		ThisCell.5 arla.conf.5
MAN8=		arla-cli.8 arlad.8 vos.8

.if defined(WITHOUT_NNPFS)
CONFIGURE_ARGS+=--disable-nnpfs
PLIST_SUB+=	NNPFS="@comment "
.else
PLIST_SUB+=	NNPFS=""
MAN4=		nnpfs.4
MAN8+=		mount_nnpfs.8 umount_nnpfs.8
.endif

INFO=		arla send-pr

.include <bsd.port.post.mk>