blob: 97f4e8e24007f4e08ed0fcfd93d68f9c2c10e08f (
plain)
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
45
46
47
48
49
50
|
# Created by: Maxim Ignatenko
# $FreeBSD$
PORTNAME= exmpp
PORTVERSION= 0.9.7
PORTREVISION= 1
CATEGORIES= textproc net-im
MASTER_SITES= http://download.process-one.net/${PORTNAME}/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast and scalable library for XMPP written in Erlang/OTP
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
libxml2.so:${PORTSDIR}/textproc/libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-static=yes \
--enable-shared=yes \
--with-erlang=${LOCALBASE} \
--with-expat=${LOCALBASE} \
--with-openssl=/usr \
--disable-debug \
--disable-warnings \
--disable-examples \
--enable-escaping-using-cdata
GNU_CONFIGURE_PREFIX= "${PREFIX}/lib/erlang/lib"
PLIST_SUB= PORTNAME=${PORTNAME} \
PORTVERSION=${PORTVERSION}
USE_AUTOTOOLS= autoconf:env automake:env aclocal:env libtool:env autoheader:env
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+= --disable-documentation
.else
CONFIGURE_ARGS+= --enable-documentation
.endif
NO_STAGE= yes
MAKE_JOBS_UNSAFE= yes
pre-configure:
@cd ${WRKSRC} && ${AUTORECONF} -ivf
post-configure:
${MAKE} clean -C ${WRKSRC}
.include <bsd.port.mk>
|