blob: 69002bf25a8ff5fe18f271d6e1c6cf33f180f0fe (
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
45
46
|
# $FreeBSD$
PORTNAME= network
DISTVERSION= ${QT5_VERSION}
PORTREVISION= 1
CATEGORIES= net ipv6
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt network module
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
USE_OPENSSL= yes
USE_QT5= core qmake_build buildtools_build
QT_DIST= base
HAS_CONFIGURE= yes
CONFIGURE_ARGS= -no-gui -no-xcb
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
QT_DEFINES= OPENSSL SSL
QT_CONFIG= openssl
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${BUILD_WRKSRC}/ssl/qsslsocket_openssl.cpp \
${BUILD_WRKSRC}/ssl/qsslsocket_openssl_symbols.cpp
post-configure:
@cd ${WRKSRC}/src/plugins/bearer/generic && \
${SETENV} ${QMAKE_ENV} ${WRKSRC}/bin/qmake ${QMAKE_ARGS}
post-build:
@cd ${WRKSRC}/src/plugins/bearer/generic && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
post-install:
@cd ${WRKSRC}/src/plugins/bearer/generic && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} ${INSTALL_TARGET}
.include <bsd.port.mk>
|