aboutsummaryrefslogtreecommitdiffstats
path: root/devel/librelp/Makefile
blob: 63cce8dcce338af2f947bfb831ddc84c294b6b3b (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
33
34
35
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   librelp
PORTVERSION=    1.2.7
CATEGORIES= devel
MASTER_SITES=   http://download.rsyslog.com/librelp/

MAINTAINER= brd@FreeBSD.org
COMMENT=    Reliable event logging protocol library

LIB_DEPENDS=    libgnutls.so:${PORTSDIR}/security/gnutls

USES=       libtool pathfix pkgconfig
USE_AUTOTOOLS=  automake aclocal
USE_LDCONFIG=   yes

PLIST_FILES=    include/${PORTNAME}.h \
        lib/${PORTNAME}.a \
        lib/${PORTNAME}.so lib/${PORTNAME}.so.0 \
        lib/${PORTNAME}.so.0.1.0 \
        libdata/pkgconfig/relp.pc

PORT_VERBS= relp

post-patch:
    @${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.am

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librelp.so.0.1.0

.include <bsd.port.mk>