summaryrefslogtreecommitdiff
path: root/devel/liblogging/Makefile
blob: 95c9eb17616eb71e809a95419828123b6ab23338 (plain) (blame)
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
PORTNAME=	liblogging
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.7
CATEGORIES=	devel

MAINTAINER=	matthew@FreeBSD.org
COMMENT=	Easy to use system logging library
WWW=		https://www.liblogging.org/

LICENSE=	BSD2CLAUSE

BUILD_DEPENDS=	rst2man:textproc/py-docutils@${PY_FLAVOR}

USES=		autoreconf cpe libtool pathfix pkgconfig python:env

PORTSCOUT=	limit:^1\.

USE_GITHUB=	yes
GH_ACCOUNT=	rsyslog

CPE_VENDOR=	adiscon

GNU_CONFIGURE=			yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ARGS+=		--disable-journal --enable-rfc3195
USE_LDCONFIG=			yes

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblogging-rfc3195.so.0.0.0
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblogging-stdlog.so.0.1.0

.include <bsd.port.mk>