summaryrefslogtreecommitdiff
path: root/security/openpam/Makefile
blob: 23ce1045bde34ebe6848c84592cc49a608afbfea (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
# $NetBSD: Makefile,v 1.2 2005/01/13 21:54:22 jlam Exp $

DISTNAME=	openpam-20040210
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=openpam/}

MAINTAINER=	jlam@NetBSD.org
HOMEPAGE=	http://www.openpam.org/
COMMENT=	open-source PAM library

CONFLICTS+=	PAM-[0-9]*

USE_BUILDLINK3=		yes
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--without-pam-su
CONFIGURE_ARGS+=	--with-pam-unix
CONFIGURE_ARGS+=	--with-modules-dir=${PREFIX}/lib/security

.include "../../mk/dlopen.buildlink3.mk"

# Create a fake perl binary to avoid recreating the man pages.
post-tools:
	${RM} -f ${TOOLS_DIR}/bin/perl
	${LN} -sf ${TRUE} ${TOOLS_DIR}/bin/perl

# Remove a directory that's created for the sample su application that
# we don't install.
#
post-install:
	${RMDIR} -p ${PREFIX}/bin 2>/dev/null || ${TRUE}

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