summaryrefslogtreecommitdiff
path: root/devel/loguru/Makefile
blob: f8439322407360e27d2182b8bdbdb0f7cda9a44b (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

PORTNAME=	loguru
DISTVERSIONPREFIX=	v
DISTVERSION=	2.1.0-21
DISTVERSIONSUFFIX=	-g2295c2b
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Lightweight and flexible C++ logging library

LICENSE=	PD

USES=		compiler:c++11-lang
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	emilk

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	include/loguru.cpp \
		include/loguru.hpp

do-install:
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.hpp ${STAGEDIR}${PREFIX}/include
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cpp ${STAGEDIR}${PREFIX}/include # #include <loguru.cpp> is recommended by the upstream

.include <bsd.port.mk>