[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / openafs

File: [cvs.NetBSD.org] / pkgsrc / net / openafs / Attic / Makefile (download)

Revision 1.16, Mon Dec 5 23:55:14 2005 UTC (17 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.15: +2 -2 lines

Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.

# $NetBSD: Makefile,v 1.16 2005/12/05 23:55:14 rillig Exp $

DISTNAME=	openafs-1.4.0-src
PKGREVISION=	1
PKGNAME=	${DISTNAME:C/-src//}
CATEGORIES=	net sysutils
MASTER_SITES=	http://www.openafs.org/dl/openafs/1.4.0/
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-bitmap-later
CONFIGURE_ARGS+=	--enable-bos-new-config
CONFIGURE_ARGS+=	--enable-fast-restart
CONFIGURE_ARGS+=	--enable-largefile-fileserver
CONFIGURE_ARGS+=	--disable-kernel-module
CONFIGURE_ARGS+=	--enable-namei-fileserver
CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

USE_GNU_CONFIGURE_HOST= no

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}

PKG_SUPPORTED_OPTIONS=	pam
PKG_OPTIONS_VAR=	PKG_OPTIONS.openafs
RCD_SCRIPTS+=		bosserver
.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+=		${PKG_SYSCONFDIR}/openafs
OWN_DIRS_PERMS+=	${PKG_SYSCONFDIR}/openafs/server ${ROOT_USER} ${ROOT_GROUP} 775
OWN_DIRS_PERMS+=	${VARBASE}/openafs ${ROOT_USER} ${ROOT_GROUP} 770
OWN_DIRS+=		${VARBASE}/openafs/logs
OWN_DIRS_PERMS+=	${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700

FILES_SUBST+=		HOSTNAME_CMD=${HOSTNAME_CMD:Q}

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