summaryrefslogtreecommitdiffstats
path: root/irc/irssi/Makefile
blob: 4c5984f7e80defeb8e9a3373618280c6e06012ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	irssi
# Date created:			14 Apr 1999
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	irssi
PORTVERSION=	0.7.92
CATEGORIES=	irc ipv6
MASTER_SITES=	http://irssi.org/files/
DISTNAME=	${PORTNAME}-${PORTVERSION}-2

MAINTAINER=	jim@FreeBSD.org

LIB_DEPENDS=	glib12.3:${PORTSDIR}/devel/glib12 \
		intl.1:${PORTSDIR}/devel/gettext

GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_PERL5=	yes
USE_LIBTOOL=	yes

CONFIGURE_ARGS=	--without-socks --with-textui --with-bot \
		--without-servertest

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		GLIB_CONFIG="${GLIB_CONFIG}" \
		LIBS="-L${LOCALBASE}/lib -lintl"

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud