openbsd-ports/net/irssi/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

# $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>
COMMENT= "modular IRC client with many features (ipv6,socks,proxy)"
2001-04-20 11:43:07 -04:00
DISTNAME= irssi-0.7.98.3
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/
HOMEPAGE= http://www.irssi.org
2001-03-07 09:39:59 -05:00
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= ::devel/gettext
2001-10-24 08:29:50 -04:00
LIB_DEPENDS= glib.1.2,gmodule::devel/glib
SEPARATE_BUILD= Concurrent
2000-12-26 18:46:05 -05:00
CONFIGURE_STYLE= gnu
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
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}
CONFIGURE_ARGS+= --with-gettext
LIB_DEPENDS+= intl.1::devel/gettext
.else
CONFIGURE_ARGS+= --with-included-gettext
.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
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/irssi
(cd ${WRKDIST} && ${INSTALL_DATA} ${SAMPLE} \
${PREFIX}/share/examples/irssi)
.include <bsd.port.mk>