summaryrefslogtreecommitdiff
path: root/net/openafs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openafs/Makefile')
-rw-r--r--net/openafs/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/net/openafs/Makefile b/net/openafs/Makefile
index 72914a4d59f..506dc43495f 100644
--- a/net/openafs/Makefile
+++ b/net/openafs/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/05/03 19:30:40 agc Exp $
+# $NetBSD: Makefile,v 1.2 2005/05/25 22:09:39 gendalia Exp $
-DISTNAME= openafs-1.3.81-src
+DISTNAME= openafs-1.3.82-src
PKGNAME= ${DISTNAME:C/-src//}
CATEGORIES= net sysutils
-MASTER_SITES= http://www.openafs.org/dl/openafs/1.3.81/
+MASTER_SITES= http://www.openafs.org/dl/openafs/1.3.82/
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= tech-pkg@NetBSD.org
+MAINTAINER= gendalia@NetBSD.org
HOMEPAGE= http://www.openafs.org/
COMMENT= File system for sharing, scalability and transparent data migration
@@ -20,4 +20,16 @@ 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
+
.include "../../mk/bsd.pkg.mk"