2004-02-09 12:56:30 +01:00
|
|
|
# New ports collection makefile for: weechat
|
|
|
|
# Date created: 2003-03-07
|
|
|
|
# Whom: clement
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= weechat
|
2007-06-15 21:11:13 +02:00
|
|
|
PORTVERSION= 0.2.5
|
2007-07-01 10:56:16 +02:00
|
|
|
PORTREVISION= 1
|
2004-02-09 12:56:30 +01:00
|
|
|
CATEGORIES= irc
|
2005-11-15 16:40:23 +01:00
|
|
|
MASTER_SITES= http://flashcode.free.fr/flashtux/weechat/ \
|
|
|
|
http://weechat.flashtux.org/download/
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2005-10-03 14:55:25 +02:00
|
|
|
MAINTAINER= az@FreeBSD.org
|
2004-02-09 12:56:30 +01:00
|
|
|
COMMENT= A lightweight and user friendly ncurse based IRC client
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-07-03 13:01:36 +02:00
|
|
|
USE_ICONV= yes
|
|
|
|
USE_AUTOTOOLS= autoconf:259
|
2006-08-28 11:49:15 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-02-09 12:56:30 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-07-06 19:41:23 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2007-01-28 14:00:10 +01:00
|
|
|
CONFIGURE_ARGS= --disable-lua
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2006-07-03 13:01:36 +02:00
|
|
|
MAN1= weechat-curses.1
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2006-07-03 13:01:36 +02:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --with-debug=2
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-debug=0
|
|
|
|
.endif
|
2005-11-16 17:08:16 +01:00
|
|
|
|
2007-01-11 21:36:46 +01:00
|
|
|
.if defined(WITHOUT_CHARSET)
|
|
|
|
CONFIGURE_ARGS+= --disable-charset
|
|
|
|
PLIST_SUBS+= CHARSET="@comment"
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= CHARSET=""
|
|
|
|
.endif
|
|
|
|
|
2006-07-03 13:01:36 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
2005-05-07 11:07:00 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2006-07-03 13:01:36 +02:00
|
|
|
.endif
|
|
|
|
|
2007-01-28 14:00:10 +01:00
|
|
|
.if defined(WITH_ASPELL)
|
|
|
|
CONFIGURE_ARGS+= --enable-aspell
|
|
|
|
BUILD_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
|
|
|
|
PLIST_SUB+= ASPELL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-aspell
|
|
|
|
PLIST_SUB+= ASPELL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-07-03 13:01:36 +02:00
|
|
|
.if defined(WITH_PYTHON)
|
|
|
|
CONFIGURE_ARGS+= --enable-python
|
|
|
|
USE_PYTHON= yes
|
|
|
|
PLIST_SUB+= PYTHON=""
|
2005-05-07 11:07:00 +02:00
|
|
|
.else
|
2006-07-03 13:01:36 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-python
|
|
|
|
PLIST_SUB+= PYTHON="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_RUBY)
|
|
|
|
CONFIGURE_ARGS+= --enable-ruby
|
|
|
|
USE_RUBY= yes
|
|
|
|
PLIST_SUB+= RUBY=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ruby
|
|
|
|
PLIST_SUB+= RUBY="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GNUTLS)
|
|
|
|
CONFIGURE_ARGS+= --enable-gnutls
|
2007-07-01 10:56:16 +02:00
|
|
|
LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
|
2006-07-03 13:01:36 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gnu-tls
|
2005-05-07 11:07:00 +02:00
|
|
|
.endif
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2006-07-03 13:01:36 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-08-10 16:47:13 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= this port does not compile on FreeBSD 4.x.
|
|
|
|
.endif
|
|
|
|
|
2005-11-16 17:08:16 +01:00
|
|
|
.if defined(WITH_PERL)
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2006-01-30 16:17:07 +01:00
|
|
|
IGNORE= this port requires perl 5.6.0 or later, Install lang/perl5 then try again
|
2005-11-16 17:08:16 +01:00
|
|
|
.else
|
2006-07-03 13:01:36 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-perl
|
|
|
|
USE_PERL= yes
|
|
|
|
PLIST_SUB+= PERL=""
|
2005-11-16 17:08:16 +01:00
|
|
|
.endif
|
2006-07-03 13:01:36 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
PLIST_SUB+= PERL="@comment "
|
2005-11-16 17:08:16 +01:00
|
|
|
.endif
|
2005-11-15 16:40:23 +01:00
|
|
|
|
2006-07-03 13:01:36 +02:00
|
|
|
.include <bsd.port.post.mk>
|