pkgsrc/chat/irssi/Makefile
veego d09d7fbcd9 Update to 0.8.9, plus adding a missing IRSSI_USE_PERL to BUILD_DEFS:
v0.8.9 2003-12-11  Timo Sirainen <tss@iki.fi>

	* Fixes a remote crash with:
	    a) non-x86 hardware (one requiring memory alignmentation)
	    b) script using "gui print text" signal (with x86 hardware too)

	+ /SET auto_whowas OFF allows now disabling automatic /whowas when
	  /whois doesn't find a nick (by Borys)
	- If pasted line starts with command char, treat it as command always.
	  Paste detection can go on too easily with lagged connections.
2003-12-11 20:18:58 +00:00

62 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2003/12/11 20:18:58 veego Exp $
DISTNAME= ${IRSSI_DISTNAME}
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"
# list it into IPv6-ready packages
BUILD_DEFS+= USE_INET6 IRSSI_USE_PERL IRSSI_USE_SSL
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
CONFIGURE_ARGS+= --with-terminfo \
--without-ncurses \
--sysconfdir=${PKG_SYSCONFDIR}
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
.include "../../lang/perl5/buildlink2.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
# 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])
. include "../../security/openssl/buildlink2.mk"
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}
.include "../../devel/glib2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"