summaryrefslogtreecommitdiff
path: root/devel/nss_wrapper/Makefile
blob: b72ea4e8a7c7fa60a46267e1c9387d33c87b539a (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
35
36
37
38
# $FreeBSD$

PORTNAME=		nss_wrapper
PORTVERSION=		1.1.3
PORTREVISION=	1
CATEGORIES=		devel
MASTER_SITES=		SAMBA/cwrap

MAINTAINER=		timur@FreeBSD.org
COMMENT=		Wrapper for the user, group and hosts NSS API

LICENSE=		GPLv3

USES=			cmake:outsource compiler:c++11-lang perl5 shebangfix
USE_PERL5=		run
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

SHEBANG_FILES=		nss_wrapper.pl

PLIST_FILES=		bin/nss_wrapper.pl \
			libdata/pkgconfig/nss_wrapper.pc \
			lib/cmake/nss_wrapper/nss_wrapper-config-version.cmake \
			lib/cmake/nss_wrapper/nss_wrapper-config.cmake \
			lib/libnss_wrapper.so.0.2.3 \
			lib/libnss_wrapper.so.0 \
			lib/libnss_wrapper.so \
			man/man1/nss_wrapper.1.gz

.include <bsd.port.mk>