blob: 09e83d6d69ed10c9f3895c391cd6748ab1d0bd2f (
plain) (
blame)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# New ports collection makefile for: weechat
# Date created: 2003-03-07
# Whom: clement
#
# $FreeBSD$
#
PORTNAME= weechat
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://flashcode.free.fr/flashtux/weechat/ \
http://weechat.flashtux.org/download/
MAINTAINER= az@FreeBSD.org
COMMENT= A lightweight and user friendly ncurse based IRC client
USE_BZIP2= yes
USE_ICONV= yes
USE_AUTOTOOLS= autoconf:259
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-lua
MAN1= weechat-curses.1
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --with-debug=2
.else
CONFIGURE_ARGS+= --with-debug=0
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if defined(WITH_PYTHON)
CONFIGURE_ARGS+= --enable-python
USE_PYTHON= yes
PLIST_SUB+= PYTHON=""
.else
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
LIB_DEPENDS+= gnutls.15:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= --disable-gnu-tls
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= this port does not compile on FreeBSD 4.x.
.endif
.if defined(WITH_PERL)
.if ${PERL_LEVEL} < 500600
IGNORE= this port requires perl 5.6.0 or later, Install lang/perl5 then try again
.else
CONFIGURE_ARGS+= --enable-perl
USE_PERL= yes
PLIST_SUB+= PERL=""
.endif
.else
CONFIGURE_ARGS+= --disable-perl
PLIST_SUB+= PERL="@comment "
.endif
.include <bsd.port.post.mk>
|