summaryrefslogtreecommitdiff
path: root/devel/liblognorm/Makefile
blob: b6d4f62c8777afc44fc7ab1d9dc73059117c53fa (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
# $FreeBSD$

PORTNAME=	liblognorm
PORTVERSION=	1.1.3
CATEGORIES=	devel net security
MASTER_SITES=	http://www.liblognorm.com/download/files/download/

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Log normalizer

LICENSE=	GPLv2

LIB_DEPENDS=	libjson-c.so:${PORTSDIR}/devel/json-c \
		libestr.so:${PORTSDIR}/devel/libestr
BUILD_DEPENDS=	sphinx-build:${PORTSDIR}/textproc/py-sphinx

USES=		libtool pathfix pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

SUB_FILES=	pkg-message

# Try to fix parallel (-jX) builds
post-patch:
	@${REINPLACE_CMD} -e \
		'/^lognormalizer_DEPENDENCIES/s,=,= $$(lib_LTLIBRARIES),' \
			${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>