summaryrefslogtreecommitdiff
path: root/sysutils/rsyslog6-devel-dbi/Makefile
blob: b6793ea8502585b343415cf4cc70443ce97e4bb8 (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
# New ports collection makefile for: rsyslog4-dbi
# Date created:     29 December 2008
# Whom:             Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$

COMMENT=	LibDBI output module for rsyslog
MASTERDIR=	${.CURDIR}/../rsyslog55

MNAME=	libdbi
LIB_DEPENDS=	dbi.0:${PORTSDIR}/databases/libdbi

CONFIGURE_ARGS+=--enable-libdbi

PLIST_FILES+=	lib/rsyslog/omlibdbi.la \
		lib/rsyslog/omlibdbi.so

do-install:
	@${INSTALL_PROGRAM} \
		${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
	@${INSTALL_DATA} \
		${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog

.include "${MASTERDIR}/Makefile"