Lines 2-20
Link Here
|
2 |
# $FreeBSD: head/devel/boost-libs/Makefile 398395 2015-10-01 22:55:26Z truckman $ |
2 |
# $FreeBSD: head/devel/boost-libs/Makefile 398395 2015-10-01 22:55:26Z truckman $ |
3 |
|
3 |
|
4 |
PORTNAME= boost-libs |
4 |
PORTNAME= boost-libs |
5 |
PORTREVISION= 9 |
5 |
PORTREVISION= 10 |
|
|
6 |
ZLIB_VERSION= 1.2.8 |
6 |
|
7 |
|
7 |
COMMENT= Free portable C++ libraries (without Boost.Python) |
8 |
COMMENT= Free portable C++ libraries (without Boost.Python) |
8 |
|
9 |
|
9 |
BUILD_DEPENDS+= bjam:${PORTSDIR}/devel/boost-jam |
10 |
BUILD_DEPENDS+= bjam:${PORTSDIR}/devel/boost-jam |
10 |
|
11 |
|
11 |
OPTIONS_DEFINE= VERBOSE_BUILD DEBUG OPTIMIZED_CFLAGS |
12 |
OPTIONS_DEFINE= VERBOSE_BUILD DEBUG OPTIMIZED_CFLAGS |
12 |
OPTIONS_MULTI= LOCALE |
13 |
OPTIONS_GROUP= IOSTREAMS |
13 |
OPTIONS_MULTI_LOCALE= ICONV ICU |
14 |
OPTIONS_MULTI= LOCALE |
14 |
OPTIONS_DEFAULT= ICONV ICU |
15 |
OPTIONS_GROUP_IOSTREAMS= BZIP2 ZLIB |
15 |
VERBOSE_BUILD_DESC= Show compiler messages |
16 |
OPTIONS_MULTI_LOCALE= ICONV ICU |
16 |
ICONV_DESC= Boost.Locale with iconv encoding support |
17 |
OPTIONS_DEFAULT= BZIP2 ZLIB ICONV ICU |
17 |
ICU_DESC= Boost.Regex/Locale with ICU unicode support |
18 |
VERBOSE_BUILD_DESC= Show compiler messages |
|
|
19 |
BZIP2_DESC= Support for bzip2 compression filter |
20 |
ZLIB_DESC= Support for zlib and gzip compression filters |
21 |
ICONV_DESC= Boost.Locale with iconv encoding support |
22 |
ICU_DESC= Boost.Regex/Locale with ICU unicode support |
18 |
|
23 |
|
19 |
ICONV_USES= iconv |
24 |
ICONV_USES= iconv |
20 |
ICONV_VARS= BJAM_ARGS+=-sICONV_PATH=${ICONV_PREFIX} |
25 |
ICONV_VARS= BJAM_ARGS+=-sICONV_PATH=${ICONV_PREFIX} |
Lines 25-30
Link Here
|
25 |
|
30 |
|
26 |
.include "${.CURDIR}/../boost-all/common.mk" |
31 |
.include "${.CURDIR}/../boost-all/common.mk" |
27 |
|
32 |
|
|
|
33 |
MASTER_SITES= SF/boost/boost/${PORTVERSION}:boost \ |
34 |
http://zlib.net:zlib |
35 |
DISTFILES= boost_${PORTVERSION:S/./_/g}.tar.bz2:boost \ |
36 |
zlib-${ZLIB_VERSION}.tar.xz:zlib |
37 |
|
28 |
.include "${.CURDIR}/../boost-all/compiled.mk" |
38 |
.include "${.CURDIR}/../boost-all/compiled.mk" |
29 |
|
39 |
|
30 |
BJAM_ARGS+= --without-python |
40 |
BJAM_ARGS+= --without-python |
Lines 37-42
Link Here
|
37 |
PLIST_SUB+= COROUTINE="" CONTEXT="" LOCALE="" LOG="" |
47 |
PLIST_SUB+= COROUTINE="" CONTEXT="" LOCALE="" LOG="" |
38 |
.endif |
48 |
.endif |
39 |
|
49 |
|
|
|
50 |
.include <bsd.port.options.mk> |
51 |
|
52 |
.if ! ${PORT_OPTIONS:MBZIP2} |
53 |
BJAM_ARGS+=-sNO_BZIP2 |
54 |
PLIST_SUB+= BZIP2="@comment " |
55 |
.else |
56 |
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/archivers/bzip2:extract |
57 |
BZIP2_WRKSRC= `cd ${PORTSDIR}/archivers/bzip2; make -V WRKSRC` |
58 |
BJAM_ARGS+= -sBZIP2_SOURCE=${BZIP2_WRKSRC} |
59 |
PLIST_SUB+= BZIP2="" |
60 |
.endif |
61 |
|
62 |
.if ! ${PORT_OPTIONS:MZLIB} |
63 |
BJAM_ARGS+= -sNO_ZLIB |
64 |
PLIST_SUB+= ZLIB="@comment " |
65 |
.else |
66 |
BJAM_ARGS+= -sZLIB_SOURCE=${WRKSRC}/../zlib-${ZLIB_VERSION} |
67 |
PLIST_SUB+= ZLIB="" |
68 |
.endif |
69 |
|
40 |
do-build: |
70 |
do-build: |
41 |
@cd ${WRKSRC} && \ |
71 |
@cd ${WRKSRC} && \ |
42 |
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} stage |
72 |
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} stage |