diff options
author | beat <beat@FreeBSD.org> | 2010-04-22 03:39:45 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2010-04-22 03:39:45 +0800 |
commit | 059e14575881dcc758145ed5faac47e9b54f9396 (patch) | |
tree | 0a6e13d6b1c6c0cc18773c7eeeaa23eb46766f17 /irc/minbif | |
parent | 937fcd36372792d1da2ac2c6e2232b998a08d544 (diff) | |
download | freebsd-ports-gnome-059e14575881dcc758145ed5faac47e9b54f9396.tar.gz freebsd-ports-gnome-059e14575881dcc758145ed5faac47e9b54f9396.tar.zst freebsd-ports-gnome-059e14575881dcc758145ed5faac47e9b54f9396.zip |
- Update to 1.0.2
- Add option to build with GnuTLS support
Submitted by: Frank Steinborn <steinex AT nognu.de> (maintainer)
Diffstat (limited to 'irc/minbif')
-rw-r--r-- | irc/minbif/Makefile | 28 | ||||
-rw-r--r-- | irc/minbif/distinfo | 6 | ||||
-rw-r--r-- | irc/minbif/files/patch-src-sockwrap-sockwrap.h | 14 |
3 files changed, 27 insertions, 21 deletions
diff --git a/irc/minbif/Makefile b/irc/minbif/Makefile index 78bd5e8013f5..93930cb91b30 100644 --- a/irc/minbif/Makefile +++ b/irc/minbif/Makefile @@ -6,9 +6,9 @@ # PORTNAME= minbif -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.2 CATEGORIES= irc net-im -MASTER_SITES= http://symlink.me/attachments/download/39/ +MASTER_SITES= http://symlink.me/attachments/download/45/ MAINTAINER= steinex@nognu.de COMMENT= An IRC to instant messaging gateway @@ -25,13 +25,16 @@ PLIST_FILES= bin/minbif %%ETCDIR%%/minbif.conf-dist \ %%ETCDIR%%/minbif.motd-dist PLIST_DIRS= %%ETCDIR%% +USE_EFL= imlib2 USE_CMAKE= yes +CMAKE_ARGS= -DENABLE_IMLIB:BOOL=ON USE_RC_SUBR= minbif PKGMESSAGE= ${WRKDIR}/pkg-message PORTDOCS= * # right now WITH_PLUGINS installs prpl-coincoin and prpl-gayattitude OPTIONS= CACA "Buddy icon display using libcaca" On \ + GNUTLS "Compile with GnuTLS support" Off \ VIDEO "Webcam display using libcaca (depends on CACA)" Off \ PLUGINS "Compile additional libpurple-plugins" Off @@ -43,22 +46,6 @@ SUB_LIST+= USERS=${USERS} BROKEN= does not link on 6.X .endif -post-patch: - @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} -e 's|-Wall||g' ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} -e \ - 's|message.c_str(), NULL);|message.c_str(), (char*)NULL);|g' \ - ${WRKSRC}/src/im/account.cpp - @${REINPLACE_CMD} -e \ - 's|#include <libpurple/purple.h>|#include <purple.h>|g' \ - ${WRKSRC}/src/core/callback.h ${WRKSRC}/src/core/minbif.cpp \ - ${WRKSRC}/src/core/util.h ${WRKSRC}/src/im/account.h \ - ${WRKSRC}/src/im/buddy.h ${WRKSRC}/src/im/conversation.h \ - ${WRKSRC}/src/im/ft.h ${WRKSRC}/src/im/media.h \ - ${WRKSRC}/src/im/protocol.h ${WRKSRC}/src/im/purple.cpp \ - ${WRKSRC}/src/im/request.h ${WRKSRC}/src/im/roomlist.h \ - ${WRKSRC}/src/irc/nick.h - .include <bsd.port.options.mk> .if defined(WITH_CACA) @@ -89,6 +76,11 @@ PLIST_FILES+= lib/purple-2/libcoincoin.so \ CMAKE_ARGS+= -DENABLE_PLUGIN:BOOL=OFF .endif +.if defined(WITH_GNUTLS) +LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls +CMAKE_ARGS+= -DENABLE_GNUTLS:BOOL=ON +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/minbif.8 ${MAN8PREFIX}/man/man8 diff --git a/irc/minbif/distinfo b/irc/minbif/distinfo index 78fe7c91c046..c3b957e56ff7 100644 --- a/irc/minbif/distinfo +++ b/irc/minbif/distinfo @@ -1,3 +1,3 @@ -MD5 (minbif-1.0.1.tar.gz) = b3eb1f09fd33b6e9c811b0dc34653e2f -SHA256 (minbif-1.0.1.tar.gz) = 52e632974b65dc82396013979f3c76b8546366728f9f0e4b3685434a670e7771 -SIZE (minbif-1.0.1.tar.gz) = 152815 +MD5 (minbif-1.0.2.tar.gz) = 32418078a1741da3b4028269666f2bac +SHA256 (minbif-1.0.2.tar.gz) = c9c48d3dbae94c74bd99c97a1f90062b442db2eba0c0ea301a80267dfee54fbd +SIZE (minbif-1.0.2.tar.gz) = 165340 diff --git a/irc/minbif/files/patch-src-sockwrap-sockwrap.h b/irc/minbif/files/patch-src-sockwrap-sockwrap.h new file mode 100644 index 000000000000..025468f14c3f --- /dev/null +++ b/irc/minbif/files/patch-src-sockwrap-sockwrap.h @@ -0,0 +1,14 @@ +--- src/sockwrap/sockwrap.h.orig 2010-04-21 19:04:39.000000000 +0200 ++++ src/sockwrap/sockwrap.h 2010-04-21 19:05:00.000000000 +0200 +@@ -24,6 +24,11 @@ + #include "core/config.h" + #include "core/callback.h" + ++#if defined(__FreeBSD__) || defined(__FreeBSD) ++#include <sys/types.h> ++#include <sys/socket.h> ++#endif ++ + #ifndef PF_SOCKWRAP_H + #define PF_SOCKWRAP_H + |