|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= hexchat |
4 |
PORTNAME= hexchat |
| 5 |
PORTVERSION= 2.10.2 |
5 |
PORTVERSION= 2.12.1 |
| 6 |
CATEGORIES= irc gnome ipv6 |
6 |
CATEGORIES= irc gnome ipv6 |
| 7 |
MASTER_SITES= http://dl.hexchat.net/${PORTNAME}/ |
7 |
MASTER_SITES= http://dl.hexchat.net/${PORTNAME}/ |
| 8 |
|
8 |
|
|
Lines 11-26
Link Here
|
| 11 |
|
11 |
|
| 12 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
| 13 |
|
13 |
|
| 14 |
LIB_DEPENDS= libproxy.so:net/libproxy |
14 |
LIB_DEPENDS= libproxy.so:net/libproxy \ |
|
|
15 |
libfontconfig.so:x11-fonts/fontconfig \ |
| 16 |
libdbus-1.so:devel/dbus \ |
| 17 |
libfreetype.so:print/freetype2 |
| 15 |
|
18 |
|
| 16 |
USES= gmake desktop-file-utils libtool pkgconfig tar:xz |
19 |
USES= gmake desktop-file-utils libtool pkgconfig tar:xz ssl |
| 17 |
USE_GNOME= gtk20 intltool libxml2 |
20 |
USE_GNOME= cairo gtk20 intltool libxml2 |
|
|
21 |
USE_XORG= x11 |
| 18 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
| 19 |
CONFIGURE_ARGS+=--enable-openssl --enable-gtkfe --disable-sysinfo \ |
23 |
CONFIGURE_ARGS+=--enable-openssl --enable-gtkfe --disable-sysinfo \ |
| 20 |
--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig |
24 |
--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig \ |
|
|
25 |
LUA=lua-${LUA_VER} |
| 21 |
INSTALLS_ICONS= yes |
26 |
INSTALLS_ICONS= yes |
| 22 |
INSTALL_TARGET= install-strip |
27 |
INSTALL_TARGET= install-strip |
| 23 |
USE_OPENSSL= yes |
|
|
| 24 |
|
28 |
|
| 25 |
CPPFLAGS+= -I${LOCALBASE}/include |
29 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 26 |
LIBS+= -L${LOCALBASE}/lib -lX11 |
30 |
LIBS+= -L${LOCALBASE}/lib -lX11 |
|
Lines 29-35
Link Here
|
| 29 |
|
33 |
|
| 30 |
PORTDOCS= * |
34 |
PORTDOCS= * |
| 31 |
|
35 |
|
| 32 |
OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOAT DOCS FISHLIM NLS NOTIFY \ |
36 |
OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOAT DOCS FISHLIM LUA NLS NOTIFY \ |
| 33 |
PERL PYTHON SOCKS TEXTFE |
37 |
PERL PYTHON SOCKS TEXTFE |
| 34 |
|
38 |
|
| 35 |
OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON |
39 |
OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON |
|
Lines 50-55
Link Here
|
| 50 |
DBUS_CONFIGURE_ENABLE= dbus |
54 |
DBUS_CONFIGURE_ENABLE= dbus |
| 51 |
DOAT_CONFIGURE_ENABLE= doat |
55 |
DOAT_CONFIGURE_ENABLE= doat |
| 52 |
FISHLIM_CONFIGURE_ENABLE= fishlim |
56 |
FISHLIM_CONFIGURE_ENABLE= fishlim |
|
|
57 |
LUA_CONFIGURE_ENABLE= lua |
| 58 |
LUA_CONFIGURE_ENABLE= plugin |
| 59 |
LUA_USES= lua |
| 53 |
NLS_CONFIGURE_ENABLE= nls |
60 |
NLS_CONFIGURE_ENABLE= nls |
| 54 |
NLS_USES= gettext |
61 |
NLS_USES= gettext |
| 55 |
NLS_USES_OFF= gettext-tools # doesn't build otherwise |
62 |
NLS_USES_OFF= gettext-tools # doesn't build otherwise |
|
Lines 56-62
Link Here
|
| 56 |
NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify |
63 |
NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify |
| 57 |
NOTIFY_CONFIGURE_ENABLE= libnotify |
64 |
NOTIFY_CONFIGURE_ENABLE= libnotify |
| 58 |
PERL_CONFIGURE_ENABLE= perl |
65 |
PERL_CONFIGURE_ENABLE= perl |
| 59 |
PYTHON_CONFIGURE_ENABLE= python |
66 |
PERL_USES= perl5 |
|
|
67 |
PYTHON_CONFIGURE_ENABLE=python |
| 68 |
PYTHON_USES= python |
| 60 |
SOCKS_LIB_DEPENDS= libsocks.so:net/dante |
69 |
SOCKS_LIB_DEPENDS= libsocks.so:net/dante |
| 61 |
SOCKS_CONFIGURE_ENABLE= socks |
70 |
SOCKS_CONFIGURE_ENABLE= socks |
| 62 |
TEXTFE_CONFIGURE_ENABLE= textfe |
71 |
TEXTFE_CONFIGURE_ENABLE= textfe |
|
Lines 73-96
Link Here
|
| 73 |
CA_BUNDLE= NULL |
82 |
CA_BUNDLE= NULL |
| 74 |
.endif |
83 |
.endif |
| 75 |
|
84 |
|
| 76 |
.if ${PORT_OPTIONS:MPYTHON} |
85 |
.if ${PORT_OPTIONS:MDBUS} |
| 77 |
USES+= python |
86 |
USE_GNOME+= gconf2 |
| 78 |
.endif |
87 |
.endif |
| 79 |
|
88 |
|
| 80 |
.if ${PORT_OPTIONS:MPERL} |
89 |
.if ${PORT_OPTIONS:MLUA} |
| 81 |
USES+= perl5 |
90 |
USE_GCC= any |
| 82 |
.endif |
91 |
.endif |
| 83 |
|
92 |
|
| 84 |
.if ${PORT_OPTIONS:MDBUS} |
|
|
| 85 |
USE_GNOME+= gconf2 |
| 86 |
.endif |
| 87 |
|
| 88 |
post-patch: |
93 |
post-patch: |
| 89 |
@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \ |
94 |
@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \ |
| 90 |
${WRKSRC}/src/common/server.c |
95 |
${WRKSRC}/src/common/server.c |
| 91 |
|
96 |
|
| 92 |
post-install: |
97 |
post-install: |
| 93 |
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ |
98 |
${LN} -sf ../share/icons/hicolor/48x48/apps/${PORTNAME}.png \ |
| 94 |
${STAGEDIR}${PREFIX}/share/pixmaps/ |
99 |
${STAGEDIR}${PREFIX}/share/pixmaps/ |
| 95 |
.if ${PORT_OPTIONS:MDOCS} |
100 |
.if ${PORT_OPTIONS:MDOCS} |
| 96 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
101 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |