View | Details | Raw Unified | Return to bug 211190
Collapse All | Expand All

(-)b/net/mosquitto/Makefile (-3 / +8 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	mosquitto
4
PORTNAME=	mosquitto
5
PORTVERSION=	1.4.4
5
PORTVERSION=	1.4.9
6
PORTREVISION=	1
7
CATEGORIES=	net
6
CATEGORIES=	net
8
MASTER_SITES=	http://mosquitto.org/files/source/
7
MASTER_SITES=	http://mosquitto.org/files/source/
9
8
Lines 15-21 LICENSE= BSD3CLAUSE Link Here
15
LIB_DEPENDS=	libcares.so:dns/c-ares
14
LIB_DEPENDS=	libcares.so:dns/c-ares
16
BUILD_DEPENDS=	xsltproc:textproc/libxslt
15
BUILD_DEPENDS=	xsltproc:textproc/libxslt
17
16
18
USES=		cmake python:2
17
USES=		cmake ssl
19
NOCONFIGURE=	yes
18
NOCONFIGURE=	yes
20
USE_RC_SUBR=	mosquitto
19
USE_RC_SUBR=	mosquitto
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
Lines 23-28 PLIST_SUB= PORTVERSION=${PORTVERSION} Link Here
23
22
24
USERS=		nobody
23
USERS=		nobody
25
24
25
OPTIONS_DEFINE=	WS
26
27
WS_DESC=	MQTT over Websockets support
28
WS_LIB_DEPENDS=	libwebsockets.so:net/libwebsockets
29
WS_CMAKE_ON=	-DWITH_WEBSOCKETS=ON
30
26
post-patch:
31
post-patch:
27
# do not run ldconfig in stage dir
32
# do not run ldconfig in stage dir
28
	${REINPLACE_CMD} -e '/ldconfig/d' ${WRKSRC}/src/CMakeLists.txt \
33
	${REINPLACE_CMD} -e '/ldconfig/d' ${WRKSRC}/src/CMakeLists.txt \
(-)b/net/mosquitto/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (mosquitto-1.4.4.tar.gz) = c643c7123708aadcd29287dda7b5ce7c910f75b02956a8fc4fe65ad2ea767a5f
1
TIMESTAMP = 1468823152
2
SIZE (mosquitto-1.4.4.tar.gz) = 325077
2
SHA256 (mosquitto-1.4.9.tar.gz) = 1df3ae07de40b80a74cd37a7b026895c544cdd3b42c9e0719ae91623aa98c58b
3
SIZE (mosquitto-1.4.9.tar.gz) = 325712
(-)b/net/mosquitto/files/patch-CMakeLists.txt (-5 / +5 lines)
Lines 1-8 Link Here
1
--- CMakeLists.txt.orig	2015-05-07 13:21:22 UTC
1
--- CMakeLists.txt.orig	2016-06-02 21:20:22 UTC
2
+++ CMakeLists.txt
2
+++ CMakeLists.txt
3
@@ -13,6 +13,9 @@ cmake_minimum_required(VERSION 2.8)
3
@@ -13,6 +13,9 @@ cmake_minimum_required(VERSION 2.8)
4
 
4
 
5
 set (VERSION 1.4.2)
5
 set (VERSION 1.4.9)
6
 
6
 
7
+include_directories(/usr/local/include)
7
+include_directories(/usr/local/include)
8
+link_directories(/usr/local/lib)
8
+link_directories(/usr/local/lib)
Lines 14-21 Link Here
14
 	set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}")
14
 	set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}")
15
 	set (INCLUDEDIR include)
15
 	set (INCLUDEDIR include)
16
 	set (DATAROOTDIR share)
16
 	set (DATAROOTDIR share)
17
-	set (MANDIR ${DATAROOTDIR}/man)
17
-	set (MANDIR "${DATAROOTDIR}/man")
18
+	set (MANDIR man)
18
+	set (MANDIR "man")
19
 	set (SHAREDIR ${DATAROOTDIR}/mosquitto)
19
 	set (SHAREDIR "${DATAROOTDIR}/mosquitto")
20
 endif (WIN32)
20
 endif (WIN32)
21
 
21
 

Return to bug 211190