# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hexchat # hexchat/Makefile # hexchat/distinfo # hexchat/pkg-descr # hexchat/pkg-plist # echo c - hexchat mkdir -p hexchat > /dev/null 2>&1 echo x - hexchat/Makefile sed 's/^X//' >hexchat/Makefile << '665bfd2316f69ebc6d10d8e912c9733e' X# Created by nemysis@gmx.ch X# X# $FreeBSD$ X# X XPORTNAME= hexchat XPORTVERSION= 2.9.4 XCATEGORIES= irc gnome ipv6 XMASTER_SITES= GH XEXTRACT_SUFX= .tar.xz X XMAINTAINER= nemysis@gmx.ch XCOMMENT= IRC chat program with GTK and Text Frontend X XLICENSE= GPLv2 X XUSE_GITHUB= yes XGH_ACCOUNT= hexchat XGH_PROJECT= hexchat XGH_TAGNAME= master XGH_COMMIT= 809cfef X XUSE_PKGCONFIG= build XUSE_GNOME= gnomehack gtk20 XWANT_PERL= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} XLDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} XCONFIGURE_ARGS+=--enable-ipv6 XUSE_GMAKE= yes XINSTALLS_ICONS= yes X XMAN1= hexchat.1 X XPORTDOCS= * X XDOCSRCDIR= ${WRKSRC}/share/doc XDOC_FILES= *.md X XOPTIONS_DEFINE= SOCKS XFT OPENSSL GTKFE TEXTFE PYTHON PERL DBUS NOTIFY NTLM LIBPROXY X XOPTIONS_SINGLE= SPELL XOPTIONS_SINGLE_SPELL= NONE STATIC LIBSEXY GTKSPELL X XOPTIONS_DEFAULT= GTKSPELL XFT OPENSSL GTKFE PERL DBUS NTLM LIBPROXY X XGTKFE_DESC= Build the GTK frontend XTEXTFE_DESC= Build the Text frontend XLIBPROXY_DESC= Automatic proxy configuration management XNONE_DESC= Disable Spell checking XSTATIC_DESC= Enable Spell checking XLIBSEXY_DESC= Enable Spell checking through Libsexy XGTKSPELL_DESC= Enable Spell checking through GTKSpell X X.include X X.if ${PORT_OPTIONS:MNLS} XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" X.else XCONFIGURE_ARGS+=--disable-nls XPLIST_SUB+= NLS="@comment " X.endif X X.if ${PORT_OPTIONS:MNONE} XCONFIGURE_ARGS+=--enable-spell=none X.endif X X.if ${PORT_OPTIONS:MSTATIC} XCONFIGURE_ARGS+=--enable-spell=static X.endif X X.if ${PORT_OPTIONS:MLIBSEXY} XLIB_DEPENDS+= sexy:${PORTSDIR}/x11-toolkits/libsexy XCONFIGURE_ARGS+=--enable-spell=libsexy X.endif X X.if ${PORT_OPTIONS:MGTKSPELL} XLIB_DEPENDS+= gtkspell:${PORTSDIR}/textproc/gtkspell XCONFIGURE_ARGS+=--enable-spell=gtkspell X.endif X X.if ${PORT_OPTIONS:MSOCKS} XLIB_DEPENDS+= socks.1:${PORTSDIR}/net/dante XCONFIGURE_ARGS+=--enable-socks X.else XCONFIGURE_ARGS+=--disable-socks X.endif X X.if ${PORT_OPTIONS:MXFT} XUSE_XORG+= xft XCONFIGURE_ARGS+=--enable-xft X.else XCONFIGURE_ARGS+=--disable-xft X.endif X X.if ${PORT_OPTIONS:MOPENSSL} XCONFIGURE_ARGS+=--enable-openssl XPLIST_SUB+= OPENSSL="" X.else XCONFIGURE_ARGS+=--disable-openssl XPLIST_SUB+= OPENSSL="@comment " X.endif X X.if ${PORT_OPTIONS:MGTKFE} XLIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2 XCONFIGURE_ARGS+=--enable-gtkfe X.else XCONFIGURE_ARGS+=--disable-gtkfe X.endif X X.if ${PORT_OPTIONS:MTEXTFE} XCONFIGURE_ARGS+=--enable-textfe X.else XCONFIGURE_ARGS+=--disable-textfe X.endif X X.if ${PORT_OPTIONS:MPYTHON} XUSE_PYTHON= yes XCONFIGURE_ARGS+=--enable-python XPLIST_SUB+= PYTHON="" X.else XCONFIGURE_ARGS+=--disable-python XPLIST_SUB+= PYTHON="@comment " X.endif X X.if ${PORT_OPTIONS:MPERL} XUSE_PERL5= yes XCONFIGURE_ARGS+=--enable-perl XPLIST_SUB+= PERL="" X.else XCONFIGURE_ARGS+=--disable-perl XPLIST_SUB+= PERL="@comment " X.endif X X.if ${PORT_OPTIONS:MDBUS} XLIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib XCONFIGURE_ARGS+=--enable-dbus XUSE_GNOME+= gconf2 XGCONF_SCHEMAS+= apps_hexchat_url_handler.schemas XPLIST_SUB+= DBUS="" X.else XCONFIGURE_ARGS+=--disable-dbus XPLIST_SUB+= DBUS="@comment " X.endif X X.if ${PORT_OPTIONS:MNOTIFY} XRUN_DEPENDS+= notify-send:${PORTSDIR}/devel/libnotify XCONFIGURE_ARGS+=--enable-libnotify X.else XCONFIGURE_ARGS+=--disable-libnotify X.endif X X.if ${PORT_OPTIONS:MNTLM} XLIB_DEPENDS+= ntlm:${PORTSDIR}/security/libntlm XCONFIGURE_ARGS+=--enable-ntlm X.else XCONFIGURE_ARGS+=--disable-ntlm X.endif X X.if ${PORT_OPTIONS:MLIBPROXY} XLIB_DEPENDS+= proxy:${PORTSDIR}/net/libproxy XCONFIGURE_ARGS+=--enable-libproxy X.else XCONFIGURE_ARGS+=--disable-libproxy X.endif X Xpre-configure: X @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) X Xpost-patch: X @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh X @${FIND} ${WRKSRC} -name '*.c' | ${XARGS} \ X ${REINPLACE_CMD} -e 's|||g' X @${REINPLACE_CMD} -e 's|stat64|stat|g' \ X ${WRKSRC}/plugins/checksum/checksum.c X Xpost-install: X ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1 X X.if ${PORT_OPTIONS:MDOCS} X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${DOC_FILES:S|^|${DOCSRCDIR}/|} ${DOCSDIR} X.endif X X @-update-desktop-database -q X X.include 665bfd2316f69ebc6d10d8e912c9733e echo x - hexchat/distinfo sed 's/^X//' >hexchat/distinfo << '46c9bb047867e1d95db2bf2b99bfca29' XSHA256 (hexchat-2.9.4.tar.xz) = 5e33a7f5d72b996505e7a079ad576e7dd17560693ccb53a3e1933dfb18bb301d XSIZE (hexchat-2.9.4.tar.xz) = 3174186 46c9bb047867e1d95db2bf2b99bfca29 echo x - hexchat/pkg-descr sed 's/^X//' >hexchat/pkg-descr << '649aeb2fd2f4c99e3d7582fb47be6027' XHexChat is an IRC chat program. XIt allows you to join multiple IRC channels (chat rooms) at the same time, Xtalk publicly, private one-on-one conversations etc. X XHexChat is based on XChat, but unlike XChat it's completely free for both XWindows and Unix-like systems. Since XChat is open source, it's perfectly legal. X XWWW: http://www.hexchat.org/ XWWW: https://github.com/hexchat/hexchat 649aeb2fd2f4c99e3d7582fb47be6027 echo x - hexchat/pkg-plist sed 's/^X//' >hexchat/pkg-plist << 'ed6c86b5c09fa6a00e52c7a7de014458' Xbin/hexchat X%%OPENSSL%%lib/hexchat/plugins/checksum.la X%%OPENSSL%%lib/hexchat/plugins/checksum.so Xlib/hexchat/plugins/doat.la Xlib/hexchat/plugins/doat.so X%%OPENSSL%%lib/hexchat/plugins/fishlim.la X%%OPENSSL%%lib/hexchat/plugins/fishlim.so X%%PERL%%lib/hexchat/plugins/perl.la X%%PERL%%lib/hexchat/plugins/perl.so X%%PYTHON%%lib/hexchat/plugins/python.la X%%PYTHON%%lib/hexchat/plugins/python.so Xshare/applications/hexchat.desktop X%%DBUS%%share/dbus-1/services/org.hexchat.service.service Xshare/icons/hicolor/48x48/apps/hexchat.png Xshare/icons/hicolor/scalable/apps/hexchat.svg X%%NLS%%share/locale/af/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/am/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ast/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/az/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/be/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/bg/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ca/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/cs/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/da/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/de/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/el/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/en_GB/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/es/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/et/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/eu/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/fi/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/fr/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/gl/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/gu/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/hi/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/hu/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/id/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/it/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ja/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/kn/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ko/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/lt/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/lv/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/mk/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ml/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ms/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/nb/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/nl/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/no/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/pa/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/pl/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/pt/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/pt_BR/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/ru/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/rw/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/sk/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/sl/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/sq/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/sr/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/sv/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/th/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/uk/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/vi/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/wa/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/zh_CN/LC_MESSAGES/hexchat.mo X%%NLS%%share/locale/zh_TW/LC_MESSAGES/hexchat.mo X%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES X%%NLS%%@dirrmtry share/locale/rw X%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES X%%NLS%%@dirrmtry share/locale/ast X@dirrmtry share/icons/hicolor/scalable/apps X@dirrmtry share/icons/hicolor/scalable X@dirrmtry share/icons/hicolor/48x48/apps X@dirrmtry share/icons/hicolor/48x48 X@dirrmtry share/icons/hicolor X@dirrmtry share/icons X%%DBUS%%@dirrmtry share/dbus-1/services X%%DBUS%%@dirrmtry share/dbus-1 X@dirrmtry share/applications X@dirrm lib/hexchat/plugins X@dirrm lib/hexchat X@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true X@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true ed6c86b5c09fa6a00e52c7a7de014458 exit