2008-01-04 12:48:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.35 2008/01/04 17:48:37 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
|
|
|
|
2007-10-10 14:09:56 -04:00
|
|
|
DISTNAME= irssi-0.8.12
|
2007-11-17 15:39:02 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
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
|
|
|
|
|
2006-04-18 16:30:02 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/
|
|
|
|
|
2007-11-17 15:39:02 -05:00
|
|
|
WANTLIB= c crypto m ncurses perl ssl util pcre
|
2006-04-18 16:30:02 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2002-02-25 09:41:42 -05:00
|
|
|
|
2006-09-18 07:59:59 -04:00
|
|
|
LIB_DEPENDS= glib-2.0,gmodule-2.0::devel/glib2
|
2000-12-26 17:33:28 -05:00
|
|
|
|
2006-04-18 16:30:02 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}
|
|
|
|
CONFIGURE_ARGS+=--enable-ipv6 \
|
|
|
|
--with-pic \
|
|
|
|
--with-proxy \
|
|
|
|
--without-included-gettext \
|
|
|
|
--enable-perl=yes \
|
|
|
|
--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
|
2004-01-11 19:17:45 -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:
|
2006-04-18 16:30:02 -04:00
|
|
|
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
|
|
|
|
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${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>
|