2ef94603b2
specify PLIST_SRC if it's defined in a package Makefile.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2005/06/06 03:07:25 jlam Exp $
|
|
|
|
DISTNAME= openafs-1.3.82-src
|
|
PKGNAME= ${DISTNAME:C/-src//}
|
|
CATEGORIES= net sysutils
|
|
MASTER_SITES= http://www.openafs.org/dl/openafs/1.3.82/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= gendalia@NetBSD.org
|
|
HOMEPAGE= http://www.openafs.org/
|
|
COMMENT= File system for sharing, scalability and transparent data migration
|
|
|
|
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 --prefix=${PREFIX}/openafs
|
|
|
|
USE_GNU_CONFIGURE_HOST= no
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
|
|
PKG_SUPPORTED_OPTIONS = pam
|
|
PKG_OPTIONS_VAR = PKG_OPTIONS.openafs
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|