2013-01-06 22:33:21 +01:00
|
|
|
# Created by: Julien Laffaye <kimelto@gmail.com>
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libircclient
|
2014-03-09 18:16:36 +01:00
|
|
|
PORTVERSION= 1.7
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
CATEGORIES= irc devel
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2011-06-08 18:52:32 +02:00
|
|
|
MAINTAINER= jlaffaye@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= IRC library to create IRC clients
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
|
2014-03-09 18:16:36 +01:00
|
|
|
LICENSE= LGPL20
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= OPENSSL IPV6 EXAMPLES
|
2013-01-06 22:33:21 +01:00
|
|
|
OPTIONS_DEFAULT= OPENSSL
|
2012-02-26 22:24:04 +01:00
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2013-01-06 22:33:21 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
2012-02-26 22:24:04 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-openssl
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
.endif
|
|
|
|
|
2013-01-06 22:33:21 +01:00
|
|
|
.if ${PORT_OPTIONS:MIPV6}
|
2012-02-26 22:24:04 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-01-27 22:30:25 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/include/libircclient.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/include/libirc_errors.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/include/libirc_events.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/include/libirc_options.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/include/libirc_rfcnumeric.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${STAGEDIR}${PREFIX}/lib
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-01-06 22:33:21 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2014-01-27 22:30:25 +01:00
|
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
|
libircclient is a small but powerful library, which implements client-server
IRC protocol. It is designed to be small, fast, portable and compatible to RFC
standards, and most IRC clients.
libircclient features include:
* Full multi-threading support.
* Single threads handles all the IRC processing.
* Support for single-threaded applications, and socket-based applications,
which use select()
* Synchronous and asynchronous interfaces.
* CTCP support with optional build-in reply code.
* Flexible DCC support, including both DCC chat, and DCC file transfer.
* Can both initiate and react to initiated DCC.
* Can accept or decline DCC sessions asynchronously.
* Plain C interface and implementation
(possible to use from C++ code, obviously)
* Compatible with RFC 1459 and most IRC clients.
* Free, licensed under LGPL license.
* Good documentation and examples available.
WWW: http://libircclient.sourceforge.net/
PR: ports/129278
Submitted by: Julien Laffaye <kimelto at gmail.com>
2008-11-29 21:11:47 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|