openbsd-ports/net/irssi/Makefile

60 lines
1.3 KiB
Makefile
Raw Normal View History

2006-06-12 22:02:04 -04:00
# $OpenBSD: Makefile,v 1.27 2006/06/13 02:02:04 jolan Exp $
SHARED_ONLY= Yes
COMMENT= "modular IRC client with many features (ipv6,socks,proxy)"
DISTNAME= irssi-0.8.10
DISTFILES= irssi-0.8.10a.tar.gz
2006-06-12 22:02:04 -04:00
PKGNAME= ${DISTNAME}p0
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
MODULES= devel/gettext
2002-02-25 09:41:42 -05:00
LIB_DEPENDS= glib-2.0.0.0,gmodule-2.0.0.0::devel/glib2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
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
2004-01-11 19:17:45 -05:00
BUILD_DEPENDS+= ::security/dante
.endif
2001-04-20 11:43:07 -04:00
pre-configure:
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/docs/irssi.1
2001-04-20 11:43:07 -04:00
post-install:
${INSTALL_DATA} ${WRKDIST}/irssi.conf ${PREFIX}/share/examples/irssi
@rm -rf ${PREFIX}/include
.include <bsd.port.mk>