1999-04-30 19:08:25 +02:00
|
|
|
# New ports collection makefile for: irssi
|
|
|
|
# Date created: 14 Apr 1999
|
1999-08-14 09:11:57 +02:00
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
1999-04-30 19:08:25 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-04-30 19:08:25 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:28:35 +02:00
|
|
|
PORTNAME= irssi
|
2002-02-17 17:12:20 +01:00
|
|
|
PORTVERSION= 0.8.1
|
2002-02-18 01:56:50 +01:00
|
|
|
PORTREVISION?= 1
|
2001-04-27 18:39:50 +02:00
|
|
|
CATEGORIES+= irc ipv6 # `+=' is for slave ports
|
2002-02-17 17:12:20 +01:00
|
|
|
MASTER_SITES= http://irssi.org/files/
|
1999-04-30 19:08:25 +02:00
|
|
|
|
2001-05-06 22:17:43 +02:00
|
|
|
MAINTAINER?= vanilla@FreeBSD.org
|
1999-04-30 19:08:25 +02:00
|
|
|
|
2002-02-17 17:12:20 +01:00
|
|
|
USE_BZIP2= yes
|
1999-04-30 19:08:25 +02:00
|
|
|
USE_PERL5= yes
|
2000-10-05 08:23:01 +02:00
|
|
|
USE_GLIB= yes
|
2000-12-11 21:21:39 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-04-27 18:39:50 +02:00
|
|
|
# `+=' is for slave ports
|
2002-02-17 08:48:31 +01:00
|
|
|
CONFIGURE_ARGS+= --without-socks --with-bot --with-textui \
|
|
|
|
--with-perl-lib=${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
2000-01-24 21:34:23 +01:00
|
|
|
|
2000-01-22 20:50:26 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2000-12-11 21:21:39 +01:00
|
|
|
pre-configure:
|
2002-02-17 08:48:31 +01:00
|
|
|
@cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample
|
2000-12-11 21:21:39 +01:00
|
|
|
|
|
|
|
post-install:
|
2002-02-17 08:48:31 +01:00
|
|
|
@if [ ! -f ${LOCALBASE}/etc/irssi.conf ]; then \
|
2000-12-11 21:21:39 +01:00
|
|
|
${ECHO} "Installing default configuration file."; \
|
2002-02-18 01:56:50 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/irssi.conf.sample ${LOCALBASE}/etc/irssi.conf ; \
|
2000-12-11 21:21:39 +01:00
|
|
|
fi
|
|
|
|
|
2000-01-22 20:50:26 +01:00
|
|
|
.include <bsd.port.post.mk>
|