summaryrefslogtreecommitdiff
path: root/devel/uid_wrapper/Makefile
blob: 0c164657aa000c60181a6d9eb4f9b4c98471c365 (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
PORTNAME=		uid_wrapper
PORTVERSION=		1.2.4
CATEGORIES=		devel
MASTER_SITES=		SAMBA/cwrap

MAINTAINER=		timur@FreeBSD.org
COMMENT=		Wrapper to fake privilege separation

LICENSE=		GPLv3

USES=			cmake
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

PLIST_FILES=		libdata/pkgconfig/uid_wrapper.pc \
			lib/cmake/uid_wrapper/uid_wrapper-config-version.cmake \
			lib/cmake/uid_wrapper/uid_wrapper-config.cmake \
			lib/libuid_wrapper.so.0.0.6 \
			lib/libuid_wrapper.so.0 \
			lib/libuid_wrapper.so \
			man/man1/uid_wrapper.1.gz

.include <bsd.port.mk>