freebsd-ports/irc/irssi-devel/Makefile

42 lines
944 B
Makefile
Raw Normal View History

# 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-08-25 08:16:32 +02:00
# $FreeBSD$
#
PORTNAME= irssi
2002-02-17 17:12:20 +01:00
PORTVERSION= 0.8.1
PORTREVISION?= 1
CATEGORIES+= irc ipv6 # `+=' is for slave ports
2002-02-17 17:12:20 +01:00
MASTER_SITES= http://irssi.org/files/
2001-05-06 22:17:43 +02:00
MAINTAINER?= vanilla@FreeBSD.org
2002-02-17 17:12:20 +01:00
USE_BZIP2= yes
USE_PERL5= yes
2000-10-05 08:23:01 +02:00
USE_GLIB= yes
GNU_CONFIGURE= yes
# `+=' 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
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
pre-configure:
2002-02-17 08:48:31 +01:00
@cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample
post-install:
2002-02-17 08:48:31 +01:00
@if [ ! -f ${LOCALBASE}/etc/irssi.conf ]; then \
${ECHO} "Installing default configuration file."; \
${INSTALL_DATA} ${WRKSRC}/irssi.conf.sample ${LOCALBASE}/etc/irssi.conf ; \
fi
.include <bsd.port.post.mk>