summaryrefslogtreecommitdiff
path: root/sysutils/crate/Makefile
blob: 211991704429f25c2e98d805819cc87da009f291 (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
PORTNAME=	crate
DISTVERSION=	0.1.3
PORTREVISION=	1
CATEGORIES=	sysutils emulators

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Containerizer for FreeBSD (alpha-software, expect bugs)

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

.if exists(/usr/include/c++/v1) && !exists(/usr/include/c++/v1/filesystem)
BROKEN=		STL feature 'filesystem' isn't available # '
.endif

IGNORE_FreeBSD_11=	getline isn't available on 11 by simply including <stdio.h> as its manpage says #'

BUILD_DEPENDS=	rang>0:devel/rang
LIB_DEPENDS=	libyaml-cpp.so:devel/yaml-cpp

USES=		compiler:c++17-lang pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	yurivict

PLIST_FILES=	bin/${PORTNAME} \
		man/man5/${PORTNAME}.5.gz

OPTIONS_DEFINE=			EXAMPLES

EXAMPLES_INSTALL_TARGET=	install install-examples
PORTEXAMPLES=			*

.include <bsd.port.mk>