openbsd-ports/net/irssi/Makefile
ajacoutot 0bbbd35e32 register-plist did not catch the devel/glib2 -main -> empty change.
espie asked me in such a nice way to fix this that I'm bumping all ports
that have a direct dependency on glib2.
2012-09-01 14:36:56 +00:00

59 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.52 2012/09/01 14:36:58 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= modular IRC client with many features (ipv6,socks,proxy)
DISTNAME= irssi-0.8.15
REVISION= 3
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 glib-2.0 gmodule-2.0
MODULES= devel/gettext
LIB_DEPENDS= devel/glib2
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
CONFIGURE_STYLE=gnu
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}
CONFIGURE_ARGS+=--with-pic \
--with-proxy \
--with-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:
${SUBST_CMD} ${WRKSRC}/docs/irssi.1
post-install:
@rm -rf ${PREFIX}/include
.include <bsd.port.mk>