aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jzmq/Makefile
blob: dc4026414eb524f66816304415a6dc4dcb78116e (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
# New ports collection makefile for:    jzmq
# Date created:     2010-10-03
# Whom:         Jimmy Olgeni <olgeni@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   jzmq
PORTVERSION=    2010.09.26
PORTREVISION=   1
CATEGORIES= devel java
MASTER_SITES=   LOCAL/olgeni
DISTNAME=   zeromq-${PORTNAME}-${PORTVERSION}

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Java bindings for ZeroMQ

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

USE_AUTOTOOLS=  autoconf libtool automake
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
USE_JAVA=   1.4+
USE_LDCONFIG=   yes

CONFIGURE_ARGS= --with-zeromq=${LOCALBASE}
CONFIGURE_ENV=  JAVA_HOME=${JAVA_HOME} LDFLAGS=${PTHREAD_LIBS}
GNU_CONFIGURE=  yes

PLIST_FILES=    %%JAVAJARDIR%%/zmq.jar  \
        %%LIB32DIR%%/libjzmq.a  \
        %%LIB32DIR%%/libjzmq.la \
        %%LIB32DIR%%/libjzmq.so \
        %%LIB32DIR%%/libjzmq.so.0

pre-configure:
    @${MKDIR} ${WRKSRC}/config
    @cd ${WRKSRC} && ${AUTORECONF} --install --force --verbose -I config

.include <bsd.port.mk>