Lines 8-13
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= xchat |
9 |
PORTNAME= xchat |
10 |
PORTVERSION= 2.8.8 |
10 |
PORTVERSION= 2.8.8 |
|
|
11 |
PORTREVISION= 1 |
11 |
CATEGORIES= irc gnome ipv6 |
12 |
CATEGORIES= irc gnome ipv6 |
12 |
MASTER_SITES= SF/${PORTNAME}/ \ |
13 |
MASTER_SITES= SF/${PORTNAME}/ \ |
13 |
http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ |
14 |
http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ |
Lines 36-43
Link Here
|
36 |
NOTIFY "Depend on libnotify for notifications" off \ |
37 |
NOTIFY "Depend on libnotify for notifications" off \ |
37 |
PERL "Enable Perl support" on \ |
38 |
PERL "Enable Perl support" on \ |
38 |
PYTHON "Enable Python support" off \ |
39 |
PYTHON "Enable Python support" off \ |
39 |
TCL "Enable TCL support" off \ |
40 |
TCL "Enable TCL support" off |
40 |
SOCKS "Build with socks5 support" off |
|
|
41 |
|
41 |
|
42 |
.if defined(WITH_PYTHON) |
42 |
.if defined(WITH_PYTHON) |
43 |
USE_PYTHON= yes |
43 |
USE_PYTHON= yes |
Lines 113-124
Link Here
|
113 |
PLIST_SUB+= TCL="@comment " |
113 |
PLIST_SUB+= TCL="@comment " |
114 |
.endif |
114 |
.endif |
115 |
|
115 |
|
116 |
.if defined(WITH_SOCKS) |
|
|
117 |
ONLY_FOR_ARCHS= i386 |
118 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 |
119 |
CONFIGURE_ARGS+=--enable-socks |
120 |
.endif |
121 |
|
122 |
post-patch: |
116 |
post-patch: |
123 |
@${REINPLACE_CMD} -E -e 's|PY_LIBS=.*|PY_LIBS="-L\$$PY_EXEC_PREFIX/lib/python\$$PY_VER/config -lpython\$$PY_VER ${PTHREAD_LIBS} -lutil"|' \ |
117 |
@${REINPLACE_CMD} -E -e 's|PY_LIBS=.*|PY_LIBS="-L\$$PY_EXEC_PREFIX/lib/python\$$PY_VER/config -lpython\$$PY_VER ${PTHREAD_LIBS} -lutil"|' \ |
124 |
${WRKSRC}/configure |
118 |
${WRKSRC}/configure |