2010-11-22 04:34:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2010/11/22 09:34:10 espie Exp $
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2006-04-18 16:30:02 -04:00
|
|
|
SHARED_ONLY= Yes
|
2004-01-17 10:58:06 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= modular IRC client with many features (ipv6,socks,proxy)
|
2001-04-20 19:45:12 -04:00
|
|
|
|
2010-05-19 11:04:28 -04:00
|
|
|
DISTNAME= irssi-0.8.15
|
2000-12-26 17:33:28 -05:00
|
|
|
CATEGORIES= net
|
2001-11-20 05:06:29 -05:00
|
|
|
|
2003-12-13 22:25:19 -05:00
|
|
|
HOMEPAGE= http://www.irssi.org/
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2006-04-18 16:30:02 -04:00
|
|
|
MAINTAINER= Wiktor Izdebski <vicviq@gmail.com>
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2003-12-13 22:25:19 -05:00
|
|
|
# GPL
|
2000-12-26 17:33:28 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-07-25 16:12:02 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
2006-04-18 16:30:02 -04:00
|
|
|
|
2010-11-11 09:00:44 -05:00
|
|
|
WANTLIB= c crypto m ncurses perl ssl util pcre glib-2.0 gmodule-2.0
|
2006-04-18 16:30:02 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2002-02-25 09:41:42 -05:00
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
LIB_DEPENDS= devel/glib2
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2006-04-18 16:30:02 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2006-04-18 16:30:02 -04:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}
|
|
|
|
CONFIGURE_ARGS+=--enable-ipv6 \
|
|
|
|
--with-pic \
|
|
|
|
--with-proxy \
|
2009-05-23 13:47:00 -04:00
|
|
|
--with-perl=yes \
|
2006-04-18 16:30:02 -04:00
|
|
|
--with-perl-lib=${PREFIX}/libdata/perl5/site_perl
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2002-02-23 05:29:55 -05:00
|
|
|
FLAVORS= socks
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Msocks}
|
|
|
|
CONFIGURE_ARGS+= --with-socks
|
2010-11-22 04:34:10 -05:00
|
|
|
BUILD_DEPENDS+= security/dante
|
2002-02-23 05:29:55 -05:00
|
|
|
.endif
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2007-05-16 15:29:11 -04:00
|
|
|
MAKE_FLAGS= scriptdir="${SYSCONFDIR}/irssi/scripts" \
|
|
|
|
themedir="${SYSCONFDIR}/irssi/themes"
|
2008-01-04 12:48:33 -05:00
|
|
|
FAKE_FLAGS= confdir="${PREFIX}/share/examples/irssi" \
|
2007-05-16 15:29:11 -04:00
|
|
|
scriptdir="${PREFIX}/share/examples/irssi/scripts" \
|
|
|
|
themedir="${PREFIX}/share/examples/irssi/themes"
|
|
|
|
|
2001-04-20 11:43:07 -04:00
|
|
|
pre-configure:
|
2009-10-11 11:23:51 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/docs/irssi.1
|
2001-04-20 11:43:07 -04:00
|
|
|
|
2000-12-26 17:33:28 -05:00
|
|
|
post-install:
|
2006-04-18 16:30:02 -04:00
|
|
|
@rm -rf ${PREFIX}/include
|
2000-12-26 17:33:28 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|