2001-11-10 10:00:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2001/11/10 15:00:49 espie Exp $
|
2001-03-07 09:39:59 -05:00
|
|
|
# Original from: Timo Sirainen <tss@iki.fi>
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2001-04-20 19:45:12 -04:00
|
|
|
COMMENT= "modular IRC client with many features (ipv6,socks,proxy)"
|
|
|
|
|
2001-04-20 11:43:07 -04:00
|
|
|
DISTNAME= irssi-0.7.98.3
|
2000-12-26 17:33:28 -05:00
|
|
|
CATEGORIES= net
|
2001-10-24 08:29:50 -04:00
|
|
|
NEED_VERSION= 1.474
|
2001-03-07 09:39:59 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/ \
|
|
|
|
http://nl.irssi.org/files/ \
|
|
|
|
http://fi.irssi.org/files/ \
|
|
|
|
http://no.irssi.org/files/ \
|
|
|
|
http://pl.irssi.org/files/ \
|
|
|
|
http://us.irssi.org/files/
|
2000-12-26 17:33:28 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.irssi.org
|
|
|
|
|
2001-03-07 09:39:59 -05:00
|
|
|
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
|
2000-12-26 17:33:28 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS= ::devel/gettext
|
2001-10-24 08:29:50 -04:00
|
|
|
LIB_DEPENDS= glib.1.2,gmodule::devel/glib
|
2000-12-26 17:33:28 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= Concurrent
|
|
|
|
|
2000-12-26 18:46:05 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2001-03-07 09:39:59 -05:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX} --datadir=${PREFIX}/share/doc
|
2001-04-20 11:43:07 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 --with-bot
|
2000-12-26 17:33:28 -05:00
|
|
|
CONFIGURE_ARGS+= --with-proxy --with-socks
|
|
|
|
CONFIGURE_ARGS+= --with-textui --enable-curses-windows
|
|
|
|
CONFIGURE_ARGS+= --enable-perl=no
|
|
|
|
|
|
|
|
FLAVORS+= gettext
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgettext}
|
2001-03-04 07:50:49 -05:00
|
|
|
CONFIGURE_ARGS+= --with-gettext
|
2000-12-26 17:33:28 -05:00
|
|
|
LIB_DEPENDS+= intl.1::devel/gettext
|
|
|
|
.else
|
2001-03-04 07:50:49 -05:00
|
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
2000-12-26 17:33:28 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SAMPLE= config default.theme colorless.theme
|
|
|
|
|
2001-04-20 11:43:07 -04:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,-lcrypt,-crypt,g' ${WRKSRC}/src/irc/bot/Makefile.in
|
|
|
|
|
2000-12-26 17:33:28 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/irssi
|
|
|
|
(cd ${WRKDIST} && ${INSTALL_DATA} ${SAMPLE} \
|
|
|
|
${PREFIX}/share/examples/irssi)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|