openbsd-ports/net/irssi/Makefile
matthieu 94e7c2fc33 Add a patch adapted from bugs.irrsi.org for double echoed characters
after reading a certificate's password.
(http://bugs.irssi.org/index.php?do=details&task_id=305)
Regen patches.
Add @bin marker to plist.
from maintainer (viq at vic dot ath dot cx)
2008-12-22 19:40:33 +00:00

63 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.38 2008/12/22 19:40:33 matthieu Exp $
SHARED_ONLY= Yes
COMMENT= modular IRC client with many features (ipv6,socks,proxy)
DISTNAME= irssi-0.8.12
PKGNAME= ${DISTNAME}p3
CATEGORIES= net
HOMEPAGE= http://www.irssi.org/
MAINTAINER= Wiktor Izdebski <vicviq@gmail.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
WANTLIB= c crypto m ncurses perl ssl util pcre
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0,gmodule-2.0::devel/glib2
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
FLAVORS= socks
FLAVOR?=
.if ${FLAVOR:L:Msocks}
CONFIGURE_ARGS+= --with-socks
BUILD_DEPENDS+= ::security/dante
.endif
MAKE_FLAGS= scriptdir="${SYSCONFDIR}/irssi/scripts" \
themedir="${SYSCONFDIR}/irssi/themes"
FAKE_FLAGS= confdir="${PREFIX}/share/examples/irssi" \
scriptdir="${PREFIX}/share/examples/irssi/scripts" \
themedir="${PREFIX}/share/examples/irssi/themes"
pre-configure:
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/docs/irssi.1
post-install:
@rm -rf ${PREFIX}/include
.include <bsd.port.mk>