aboutsummaryrefslogtreecommitdiffstats
path: root/devel/librelp/Makefile
blob: b53d844f27aefea24907c8152daa50f30e75211d (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
# New ports collection makefile for:    librelp
# Date created:     1 April 2008
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

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

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

USE_GNOME=  gnomehack pkgconfig
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes

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

PORT_VERBS= relp

post-patch:
    @${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e '/^PTHREADS/s|= .*|= ${PTHREAD_LIBS}|g' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>