summaryrefslogtreecommitdiff
path: root/devel/pam_wrapper/Makefile
blob: ec3456b53dcf4ce66de110b727505f13d52f486f (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
PORTNAME=		pam_wrapper
PORTVERSION=		1.0.6
PORTREVISION=		2
CATEGORIES=		devel
MASTER_SITES=		SAMBA/cwrap

MAINTAINER=		timur@FreeBSD.org
COMMENT=		Preloadable wrapper to test PAM applications and PAM Modules

LICENSE=		GPLv3

EXTRA_PATCHES=		${PATCHDIR}/python-detection.patch:-p1

USES=			cmake python
USE_LDCONFIG=		yes

CMAKE_ARGS=		-DMAN_INSTALL_DIR:PATH="${PREFIX}/man"

OPTIONS_DEFINE=		TEST
OPTIONS_DEFAULT=	TEST

TEST_TEST_TARGET=	test
TEST_CMAKE_BOOL=	UNIT_TESTING
TEST_BUILD_DEPENDS=	cmocka>=1.1.1:sysutils/cmocka

.include <bsd.port.mk>