2 |
|
# Date created: 17 Aug 2002 |
3 |
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> |
4 |
|
# |
5 |
< |
# $MidnightBSD$ |
5 |
> |
# $MidnightBSD: mports/irc/xchat/Makefile,v 1.1 2007/02/19 23:05:09 laffer1 Exp $ |
6 |
|
# $FreeBSD: ports/irc/xchat/Makefile,v 1.122 2006/11/28 14:44:41 pav Exp $ |
7 |
|
# $MCom: ports-stable/irc/xchat/Makefile,v 1.1 2006/10/26 08:33:06 marcus Exp $ |
8 |
|
# |
19 |
|
MAINTAINER= ports@MidnightBSD.org |
20 |
|
COMMENT= An X11 IRC client using the GTK+ 2 toolkit |
21 |
|
|
22 |
+ |
OPTIONS= PYTHON "Enable Python support" Off \ |
23 |
+ |
SOCKS "Enable SOCKS5 proxy support" Off \ |
24 |
+ |
TCL "Enable TCL suppoer" Off \ |
25 |
+ |
PERL "Enable perl support" On \ |
26 |
+ |
DBUS "Enable dbus support" On \ |
27 |
+ |
GTKSPELL "Enable spell-checking" On \ |
28 |
+ |
|
29 |
|
USE_BZIP2= yes |
30 |
|
USE_GMAKE= yes |
31 |
|
USE_GNOME= gnomehack gtk20 |
87 |
|
|
88 |
|
.include <bsd.port.pre.mk> |
89 |
|
|
90 |
< |
.if ${PERL_LEVEL} < 500600 || defined(WITHOUT_PERL) |
90 |
> |
.if defined(WITHOUT_PERL) |
91 |
|
CONFIGURE_ARGS+=--disable-perl |
92 |
|
PLIST_SUB+= PERL="@comment " |
93 |
|
.else |
96 |
|
PLIST_SUB+= PERL="" |
97 |
|
.endif |
98 |
|
|
92 |
– |
pre-everything:: |
93 |
– |
.if !defined(WITH_PYTHON) || !defined(WITH_SOCKS) || !defined(WITH_TCL) || !defined(WITHOUT_PERL) || !defined(WITHOUT_DBUS) || !defined(WITHOUT_GTKSPELL) |
94 |
– |
@${ECHO_MSG} "You may specify the following on the command line:" |
95 |
– |
@${ECHO_MSG} "" |
96 |
– |
.endif |
97 |
– |
.if !defined(WITH_PYTHON) |
98 |
– |
@${ECHO_MSG} "WITH_PYTHON=yes for Python support" |
99 |
– |
.endif |
100 |
– |
.if !defined(WITH_SOCKS) |
101 |
– |
@${ECHO_MSG} "WITH_SOCKS=yes for SOCKS5 proxy support" |
102 |
– |
.endif |
103 |
– |
.if !defined(WITH_TCL) |
104 |
– |
@${ECHO_MSG} "WITH_TCL=yes for tcl support" |
105 |
– |
.endif |
106 |
– |
.if !defined(WITHOUT_PERL) |
107 |
– |
@${ECHO_MSG} "WITHOUT_PERL=yes to disable Perl support" |
108 |
– |
.endif |
109 |
– |
.if !defined(WITHOUT_DBUS) |
110 |
– |
@${ECHO_MSG} "WITHOUT_DBUS=yes to disable dbus support" |
111 |
– |
.endif |
112 |
– |
.if !defined(WITHOUT_GTKSPELL) |
113 |
– |
@${ECHO_MSG} "WITHOUT_GTKSPELL=yes to disable spell check support" |
114 |
– |
.endif |
115 |
– |
|
99 |
|
post-patch: |
100 |
|
@${REINPLACE_CMD} -E -e 's|PY_LIBS=.*|PY_LIBS="-L\$$PY_EXEC_PREFIX/lib/python\$$PY_VER/config -lpython\$$PY_VER ${PTHREAD_LIBS} -lutil"|' \ |
101 |
|
${WRKSRC}/configure |
119 |
– |
|
120 |
– |
# Create plugins directory even when no plugins are installed |
121 |
– |
post-install: |
122 |
– |
@${MKDIR} ${PREFIX}/lib/xchat/plugins |
102 |
|
|
103 |
|
.include <bsd.port.post.mk> |