blob: 7e12868341798816b3fb358eca6dd854568a7035 (
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
|
# $NetBSD: Makefile,v 1.30 2014/06/15 14:15:36 wiz Exp $
DISTNAME= serf-1.3.6
CATEGORIES= www
MASTER_SITES= http://serf.googlecode.com/svn/src_releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/serf/
COMMENT= High-performance asynchronous HTTP client library
LICENSE= apache-2.0
BUILD_DEPENDS+= scons>=2.3.0:../../devel/scons
SCONS_ARGS+= APR=${PREFIX}/bin/apr-1-config
SCONS_ARGS+= APU=${PREFIX}/bin/apu-1-config
SCONS_ARGS+= CC=${CC:Q}
SCONS_ARGS+= CFLAGS=${CFLAGS:Q}
SCONS_ARGS+= LDFLAGS=${LDFLAGS:Q}
SCONS_ARGS+= OPENSSL=${PREFIX}/lib
SCONS_ARGS+= GSSAPI=${KRB5_CONFIG:Q}
SCONS_ARGS+= --install-sandbox=${DESTDIR}
CFLAGS.SunOS+= -D__EXTENSIONS__
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} ${SCONS_ARGS}
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} ${SCONS_ARGS} install
.include "../../devel/apr/buildlink3.mk"
.include "../../devel/apr-util/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/krb5.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|