aboutsummaryrefslogtreecommitdiffstats
path: root/devel/czmq/Makefile
blob: 80eac22fa394ea6c5e6b2b4fe3311a4fe41d8f00 (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
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    czmq
# Date created:     2008-07-28
# Whom:         Andrew Thompson <thompsa@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   czmq
PORTVERSION=    1.1.0
CATEGORIES= devel net
MASTER_SITES=   http://download.zeromq.org/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    High-level C Binding for zmq

LICENSE=    LGPL3

LIB_DEPENDS=    zmq:${PORTSDIR}/devel/zmq

USE_PERL5_BUILD=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libzmq=${LOCALBASE}
USE_LDCONFIG=   yes

MAN7=       czmq.7 \
        zclock.7 \
        zctx.7 \
        zfile.7 \
        zframe.7 \
        zhash.7 \
        zlist.7 \
        zloop.7 \
        zmsg.7 \
        zsocket.7 \
        zsockopt.7 \
        zstr.7 \
        zthread.7

post-configure:
    @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile
    @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/doc/mkman

.include <bsd.port.mk>