pkgsrc/chat/irssi/Makefile

69 lines
1.9 KiB
Makefile
Raw Normal View History

2004-12-11 01:26:45 +01:00
# $NetBSD: Makefile,v 1.29 2004/12/11 00:26:45 minskim Exp $
DISTNAME= ${IRSSI_DISTNAME}
PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= http://real.irssi.org/files/
EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
MAINTAINER= mutru@iki.fi
HOMEPAGE= http://www.irssi.org/
COMMENT= Secure and modular IRC client with text mode user interface
.include "${.CURDIR}/Makefile.common"
2002-02-19 09:20:45 +01:00
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6 IRSSI_USE_PERL IRSSI_USE_SSL
2002-02-19 09:20:45 +01:00
GNU_CONFIGURE= yes
2004-03-18 01:36:11 +01:00
USE_BUILDLINK3= yes
2004-12-11 01:26:45 +01:00
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
CONFIGURE_ARGS+= --with-terminfo \
--without-ncurses \
--sysconfdir=${PKG_SYSCONFDIR}
2004-04-14 03:19:47 +02:00
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
EGDIR= ${PREFIX}/share/examples/irssi
CONF_FILES= ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
.include "../../mk/bsd.prefs.mk"
.if defined(IRSSI_USE_PERL) && (${IRSSI_USE_PERL} == "YES")
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Irssi/.packlist
PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/Irc/.packlist
PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/UI/.packlist
PERL5_PACKLIST+= ${PERL5_SITEARCH}/auto/Irssi/TextUI/.packlist
2004-03-18 01:37:01 +01:00
.include "../../lang/perl5/buildlink3.mk"
# actually we don't need --with-perl here, irssi is compiled with it by default
# but who knows what may happen in future versions
CONFIGURE_ARGS+= --with-perl
CONFIGURE_ARGS+= --with-perl-lib=site
.else
CONFIGURE_ARGS+= --with-perl=no
.endif
Update to 0.8.8. Fix based on pkg/23560, but not all parts were be used and others were added where needed. Main NetBSD changes: - switched from glib1 to glib2. - added IRSSI_USE_SSL, defaulting to YES, for ssl server support - make it possible to disable IPv6 v0.8.8 2003-11-23 Timo Sirainen <tss@iki.fi> - Just a few fixes to converting old settings automatically v0.8.7 2003-11-23 Timo Sirainen <tss@iki.fi> * Settings changes - we have now "time", "size" and "level" setting types. - Level settings should work the same as before. - Time settings can have units: days, hours, mins, secs, milliseconds (or msecs). The units can be combined and written in shorter form as well, for example "5d 30m 10ms" - Size settings can have units: gbytes, mbytes, kbytes, bytes. They can be written in shorter form as well, eg. "gb" or "g". Your existing settings should be converted automatically. + Pasting detection. All keys except CR and LF are pasted as-is into prompt in pasting mode. /SET paste_detect_time controls how closely each others characters must occur for it to be considered pasting. Paste mode goes on when first pasted CR/LF is found. The first line may also contain some command characters. They are executed, but their action in entry line is reverted once pasting is detected. What this means in practise is that even if you have TABs (assuming TAB is completion key) in the first pasted line, they get pasted as TABs. This detection isn't perfect, so if it annoys you it can be disabled with /SET paste_detect_time 0 + If pasting more lines than /SET paste_verify_line_count, irssi asks if you actually want to do that. This should be useful to prevent accidental copy&paste mistakes. Setting it to 0 disables this entirely. + Support for sending SSL certificate to server and optionally verify server's certificate. See the -ssl_* options for /SERVER and /SERVER ADD. Patch by Joel Eriksson. + DCC SERVER support by Mark Trumbull + Support for DCC sending larger files than 2GB if supported by operating system (ie. 64bit file support). Receiving has always been possible, but the statistics were wrong with >4GB files if 64bit support isn't enabled. + Better displaying of DCC file transfer statistics. - Several other minor fixes and enhancements, see ChangeLog
2003-12-04 11:43:10 +01:00
# IPv6 support
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ipv6
.endif
# SSL support
.if defined(IRSSI_USE_SSL) && !empty(IRSSI_USE_SSL:M[Yy][Ee][Ss])
2004-03-18 01:36:11 +01:00
. include "../../security/openssl/buildlink3.mk"
Update to 0.8.8. Fix based on pkg/23560, but not all parts were be used and others were added where needed. Main NetBSD changes: - switched from glib1 to glib2. - added IRSSI_USE_SSL, defaulting to YES, for ssl server support - make it possible to disable IPv6 v0.8.8 2003-11-23 Timo Sirainen <tss@iki.fi> - Just a few fixes to converting old settings automatically v0.8.7 2003-11-23 Timo Sirainen <tss@iki.fi> * Settings changes - we have now "time", "size" and "level" setting types. - Level settings should work the same as before. - Time settings can have units: days, hours, mins, secs, milliseconds (or msecs). The units can be combined and written in shorter form as well, for example "5d 30m 10ms" - Size settings can have units: gbytes, mbytes, kbytes, bytes. They can be written in shorter form as well, eg. "gb" or "g". Your existing settings should be converted automatically. + Pasting detection. All keys except CR and LF are pasted as-is into prompt in pasting mode. /SET paste_detect_time controls how closely each others characters must occur for it to be considered pasting. Paste mode goes on when first pasted CR/LF is found. The first line may also contain some command characters. They are executed, but their action in entry line is reverted once pasting is detected. What this means in practise is that even if you have TABs (assuming TAB is completion key) in the first pasted line, they get pasted as TABs. This detection isn't perfect, so if it annoys you it can be disabled with /SET paste_detect_time 0 + If pasting more lines than /SET paste_verify_line_count, irssi asks if you actually want to do that. This should be useful to prevent accidental copy&paste mistakes. Setting it to 0 disables this entirely. + Support for sending SSL certificate to server and optionally verify server's certificate. See the -ssl_* options for /SERVER and /SERVER ADD. Patch by Joel Eriksson. + DCC SERVER support by Mark Trumbull + Support for DCC sending larger files than 2GB if supported by operating system (ie. 64bit file support). Receiving has always been possible, but the statistics were wrong with >4GB files if 64bit support isn't enabled. + Better displaying of DCC file transfer statistics. - Several other minor fixes and enhancements, see ChangeLog
2003-12-04 11:43:10 +01:00
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}
2001-09-30 12:13:54 +02:00
.include "../../mk/bsd.pkg.mk"