View | Details | Raw Unified | Return to bug 134104
Collapse All | Expand All

(-)/usr/home/debonair/myports/weechat/Makefile (-12 / +23 lines)
Lines 20-50 Link Here
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--disable-lua
22
CONFIGURE_ARGS=	--disable-lua
23
USE_PYTHON=	yes
24
USE_RUBY=	yes
25
USE_GETTEXT=	yes
23
26
24
MAN1=	weechat-curses.1
27
MAN1=	weechat-curses.1
25
28
26
.if defined(WITH_DEBUG)
29
OPTIONS=	RUBY "Ruby scripting support." off \
30
		PYTHON "Python scripting support." off \
31
		PERL "Perl scripting support." off \
32
		CHARSET "Charset support." on \
33
		DEBUG "Debugging." off \
34
		ASPELL "Spell checking." off \
35
		GNUTLS "GNU TLS." off \
36
		NLS "NLS support" on
37
38
.include <bsd.port.pre.mk>
39
40
.if !defined(WITHOUT_DEBUG)
27
CONFIGURE_ARGS+=	--with-debug=2
41
CONFIGURE_ARGS+=	--with-debug=2
28
.else
42
.else
29
CONFIGURE_ARGS+=	--with-debug=0
43
CONFIGURE_ARGS+=	--with-debug=0
30
.endif
44
.endif
31
45
32
.if defined(WITHOUT_CHARSET)
46
.if !defined(WITHOUT_CHARSET)
33
CONFIGURE_ARGS+=	--disable-charset
47
CONFIGURE_ARGS+=	--disable-charset
34
PLIST_SUBS+=	CHARSET="@comment"
48
PLIST_SUBS+=	CHARSET="@comment"
35
.else
49
.else
36
PLIST_SUB+=	CHARSET=""
50
PLIST_SUB+=	CHARSET=""
37
.endif
51
.endif
38
52
39
.if defined(WITHOUT_NLS)
53
.if !defined(WITHOUT_NLS)
40
CONFIGURE_ARGS+=	--disable-nls
54
CONFIGURE_ARGS+=	--disable-nls
41
PLIST_SUB+=	NLS="@comment "
55
PLIST_SUB+=	NLS="@comment "
42
.else
56
.else
43
USE_GETTEXT=	yes
44
PLIST_SUB+=	NLS=""
57
PLIST_SUB+=	NLS=""
45
.endif
58
.endif
46
59
47
.if defined(WITH_ASPELL)
60
.if !defined(WITHOUT_ASPELL)
48
CONFIGURE_ARGS+=	--enable-aspell
61
CONFIGURE_ARGS+=	--enable-aspell
49
BUILD_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
62
BUILD_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
50
PLIST_SUB+=	ASPELL=""
63
PLIST_SUB+=	ASPELL=""
Lines 53-84 Link Here
53
PLIST_SUB+=	ASPELL="@comment "
66
PLIST_SUB+=	ASPELL="@comment "
54
.endif
67
.endif
55
68
56
.if defined(WITH_PYTHON)
69
.if !defined(WITHOUT_PYTHON)
57
CONFIGURE_ARGS+=	--enable-python
70
CONFIGURE_ARGS+=	--enable-python
58
USE_PYTHON=	yes
59
PLIST_SUB+=	PYTHON=""
71
PLIST_SUB+=	PYTHON=""
60
.else
72
.else
61
CONFIGURE_ARGS+=	--disable-python
73
CONFIGURE_ARGS+=	--disable-python
62
PLIST_SUB+=	PYTHON="@comment "
74
PLIST_SUB+=	PYTHON="@comment "
63
.endif
75
.endif
64
76
65
.if defined(WITH_RUBY)
77
.if !defined(WITHOUT_RUBY)
66
CONFIGURE_ARGS+=	--enable-ruby
78
CONFIGURE_ARGS+=	--enable-ruby
67
USE_RUBY=	yes
68
PLIST_SUB+=	RUBY=""
79
PLIST_SUB+=	RUBY=""
69
.else
80
.else
70
CONFIGURE_ARGS+=	--disable-ruby
81
CONFIGURE_ARGS+=	--disable-ruby
71
PLIST_SUB+=	RUBY="@comment "
82
PLIST_SUB+=	RUBY="@comment "
72
.endif
83
.endif
73
84
74
.if defined(WITH_GNUTLS)
85
.if !defined(WITHOUT_GNUTLS)
75
CONFIGURE_ARGS+=	--enable-gnutls
86
CONFIGURE_ARGS+=	--enable-gnutls
76
LIB_DEPENDS+=	gnutls.26:${PORTSDIR}/security/gnutls
87
LIB_DEPENDS+=	gnutls.26:${PORTSDIR}/security/gnutls
77
.else
88
.else
78
CONFIGURE_ARGS+=	--disable-gnu-tls
89
CONFIGURE_ARGS+=	--disable-gnu-tls
79
.endif
90
.endif
80
91
81
.if defined(WITH_PERL)
92
.if !defined(WITHOUT_PERL)
82
CONFIGURE_ARGS+=	--enable-perl
93
CONFIGURE_ARGS+=	--enable-perl
83
USE_PERL5=	yes
94
USE_PERL5=	yes
84
PLIST_SUB+=	PERL=""
95
PLIST_SUB+=	PERL=""
Lines 90-93 Link Here
90
post-patch:
101
post-patch:
91
	@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
102
	@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
92
103
93
.include <bsd.port.mk>
104
.include <bsd.port.post.mk>

Return to bug 134104