freebsd-ports/irc/irssi-devel/Makefile
Vanilla I. Shu 5a5d742266 remove LIB_DEPENDS to gettext,
use ${INSTALL_DATA} for irssi.conf

Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2002-02-18 00:56:50 +00:00

41 lines
944 B
Makefile

# New ports collection makefile for: irssi
# Date created: 14 Apr 1999
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= irssi
PORTVERSION= 0.8.1
PORTREVISION?= 1
CATEGORIES+= irc ipv6 # `+=' is for slave ports
MASTER_SITES= http://irssi.org/files/
MAINTAINER?= vanilla@FreeBSD.org
USE_BZIP2= yes
USE_PERL5= yes
USE_GLIB= yes
GNU_CONFIGURE= yes
# `+=' is for slave ports
CONFIGURE_ARGS+= --without-socks --with-bot --with-textui \
--with-perl-lib=${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
pre-configure:
@cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample
post-install:
@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>