Lines 2-10
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= libssh |
4 |
PORTNAME= libssh |
5 |
DISTVERSION= 0.7.5 |
5 |
DISTVERSION= 0.8.4 |
6 |
CATEGORIES= security devel |
6 |
CATEGORIES= security devel |
7 |
MASTER_SITES= https://git.libssh.org/projects/libssh.git/snapshot/ |
7 |
MASTER_SITES= https://www.libssh.org/files/0.8/ |
8 |
|
8 |
|
9 |
MAINTAINER= johans@FreeBSD.org |
9 |
MAINTAINER= johans@FreeBSD.org |
10 |
COMMENT= Library implementing the SSH1 and SSH2 protocol |
10 |
COMMENT= Library implementing the SSH1 and SSH2 protocol |
Lines 43-56
Link Here
|
43 |
STATIC_CMAKE_OFF= -DWITH_STATIC_LIB:BOOL=OFF |
43 |
STATIC_CMAKE_OFF= -DWITH_STATIC_LIB:BOOL=OFF |
44 |
|
44 |
|
45 |
post-patch: |
45 |
post-patch: |
46 |
@${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake |
46 |
${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake |
47 |
@${REINPLACE_CMD} \ |
47 |
${REINPLACE_CMD} \ |
48 |
-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \ |
48 |
-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \ |
49 |
-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \ |
49 |
-e 's|CMAKE_INSTALL_DIR}|CMAKE_INSTALL_DIR}/libssh|' \ |
50 |
${WRKSRC}/CMakeLists.txt |
50 |
${WRKSRC}/CMakeLists.txt |
51 |
@${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \ |
51 |
# ${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads -lpthread|' \ |
52 |
${WRKSRC}/libssh_threads.pc.cmake |
52 |
# ${WRKSRC}/libssh_threads.pc.cmake |
53 |
@${REINPLACE_CMD} -e 's| -pedantic-errors||' \ |
53 |
${REINPLACE_CMD} -e 's| -pedantic-errors||' \ |
54 |
${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake |
54 |
${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake |
55 |
|
55 |
|
56 |
.include <bsd.port.mk> |
56 |
.include <bsd.port.mk> |