1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/irc/irssi-devel/Makefile
2000-10-05 06:23:01 +00:00

45 lines
1.0 KiB
Makefile

# New ports collection makefile for: irssi
# Date created: 14 Apr 1999
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= irssi
PORTVERSION= 0.7.95
CATEGORIES= irc ipv6
MASTER_SITES= http://irssi.org/files/
DISTNAME= ${PORTNAME}-${PORTVERSION}-3
MAINTAINER= jim@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_GLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --without-socks --with-textui --with-bot \
--without-servertest
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>