1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

irc/weechat: Update to 2.0

This commit is contained in:
Bernard Spil 2017-12-03 16:12:42 +00:00
parent 77bcb2723e
commit ab10ab3044
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455409
4 changed files with 13 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= weechat
PORTVERSION= 1.9.1
PORTVERSION= 2.0
CATEGORIES= irc
MASTER_SITES= https://weechat.org/files/src/
@ -16,8 +16,9 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
USES= cmake:outsource,noninja ncurses tar:xz
USES= cmake:outsource,noninja autoreconf ncurses libtool tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CMAKE_ARGS+= -DENABLE_GUILE=no \
-DLIBDATADIR=${LOCALBASE}/libdata

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1506337543
SHA256 (weechat-1.9.1.tar.xz) = c2991fc616a9b1ac155e7f2591922421b49924ea45e4e5b64622dcb7f38522fd
SIZE (weechat-1.9.1.tar.xz) = 1877428
TIMESTAMP = 1512301125
SHA256 (weechat-2.0.tar.xz) = a9172dbacfd9c96e3e9bddc7134dae09b3b3e292e9cf44e82e5d964cf38fa2c7
SIZE (weechat-2.0.tar.xz) = 1967636

View File

@ -1,4 +1,4 @@
--- CMakeLists.txt.orig 2017-05-13 05:07:57 UTC
--- CMakeLists.txt.orig 2017-12-03 10:55:08 UTC
+++ CMakeLists.txt
@@ -64,6 +64,10 @@ else()
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
@ -11,7 +11,7 @@
if(NOT DEFINED SHAREDIR)
set(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
endif()
@@ -88,11 +92,13 @@ option(ENABLE_GNUTLS "Enable SSLv3/T
@@ -88,12 +92,14 @@ option(ENABLE_GNUTLS "Enable SSLv3/T
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
@ -21,11 +21,12 @@
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_FSET "Enable Fast Set plugin" ON)
+option(ENABLE_ICONV "Enable character conversion support" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
@@ -168,6 +174,7 @@ endif()
@@ -170,6 +176,7 @@ endif()
# Check for libgcrypt
find_package(GCRYPT REQUIRED)
add_definitions(-DHAVE_GCRYPT)
@ -33,7 +34,7 @@
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
# Check for GnuTLS
@@ -186,10 +193,12 @@ endif()
@@ -188,10 +195,12 @@ endif()
find_package(ZLIB REQUIRED)
add_definitions(-DHAVE_ZLIB)
@ -50,7 +51,7 @@
endif()
# Check for CURL
@@ -248,7 +257,7 @@ set(exec_prefix "\${prefix}")
@@ -250,7 +259,7 @@ set(exec_prefix "\${prefix}")
set(libdir "\${exec_prefix}/lib")
set(includedir "\${prefix}/include")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)

View File

@ -5,6 +5,7 @@ lib/weechat/plugins/alias.so
lib/weechat/plugins/buflist.so
lib/weechat/plugins/exec.so
lib/weechat/plugins/fifo.so
lib/weechat/plugins/fset.so
lib/weechat/plugins/irc.so
lib/weechat/plugins/logger.so
lib/weechat/plugins/relay.so