# 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: # # barnowl/ # barnowl/Makefile # barnowl/distinfo # barnowl/files/ # barnowl/files/patch-message.c # barnowl/files/patch-zephyr.c # barnowl/pkg-descr # barnowl/pkg-plist # echo c - barnowl/ mkdir -p barnowl/ > /dev/null 2>&1 echo x - barnowl/Makefile sed 's/^X//' >barnowl/Makefile << 'f5ab90f94cb9e1819c9ace77f8ed2af0' X# New ports collection makefile for: barnowl X# Date created: 25 February 2012 X# Whom: Ben Kaduk X# X# $FreeBSD$ X XPORTNAME= barnowl XPORTVERSION= 1.8 XCATEGORIES= net-im XMASTER_SITES= http://barnowl.mit.edu/dist/ XEXTRACT_SUFX= -src.tgz X XMAINTAINER= kaduk-fbsd@mit.edu XCOMMENT= A curses-based tty Jabber, IRC, AIM and Zephyr client X XBUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config XBUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip XLIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20 XBUILD_DEPENDS+= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor XBUILD_DEPENDS+= p5-AnyEvent:${PORTSDIR}/devel/p5-AnyEvent XBUILD_DEPENDS+= p5-Glib2:${PORTSDIR}/devel/p5-Glib2 XRUN_DEPENDS= ${SITE_PERL}/PAR.pm:${PORTSDIR}/devel/p5-PAR XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS XRUN_DEPENDS+= ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL XRUN_DEPENDS+= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL XRUN_DEPENDS+= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor X# already pulled in by Net-DNS, but it is used directly by BarnOwl XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 XRUN_DEPENDS+= p5-AnyEvent:${PORTSDIR}/devel/p5-AnyEvent XRUN_DEPENDS+= p5-Glib2:${PORTSDIR}/devel/p5-Glib2 XRUN_DEPENDS+= p5-JSON:${PORTSDIR}/converters/p5-JSON XRUN_DEPENDS+= p5-Net-Twitter-Lite:${PORTSDIR}/net/p5-Net-Twitter-Lite X XWRKSRC= ${WRKDIR}/barnowl-${PORTVERSION}-src XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_PERL5_RUN= yes X XMAN1= barnowl.1 X XLDFLAGS+= -L${LOCALBASE}/lib XCFLAGS+= -I${LOCALBASE}/include -g XCPPFLAGS+= -I${LOCALBASE}/include -D__BSD_VISIBLE X# ideally we wouldn't need to set crypto flags unless WITH_ZEPHYR is set, X# but the configure script bails unless we override pkg-config by defining them XLIBCRYPTO_CFLAGS= -I${LOCALBASE}/include XCONFIGURE_ARGS= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" XCONFIGURE_ARGS+= LIBCRYPTO_CFLAGS="${LIBCRYPTO_CFLAGS}" XLIBCRYPTO_LIBS= `krb5-config --libs` XCONFIGURE_ARGS+= LIBCRYPTO_LIBS="${LIBCRYPTO_LIBS}" X XOPTIONS= ZEPHYR "Build with support for the zephyr protocol" no \ X IRC "Build with support for the IRC protocol" no \ X TEXTWRAP "Include text-wrapping support" yes X X.include X X.if defined(WITH_ZEPHYR) XLIB_DEPENDS+= zephyr:${PORTSDIR}/net-im/zephyr XCONFIGURE_ARGS+= --with-zephyr XCONFIGURE_ARGS+= LDFLAGS="${LDFLAGS}" XLDFLAGS+= -liconv XUSE_ICONV= yes X.endif X X.if defined(WITH_IRC) XRUN_DEPENDS+= ${SITE_PERL}/AnyEvent/IRC/Client.pm:${PORTSDIR}/irc/p5-AnyEvent-IRC X.endif X X.if defined(WITH_TEXTWRAP) XRUN_DEPENDS+= ${SITE_PERL}/Text/Autoformat.pm:${PORTSDIR}/textproc/p5-Text-Autoformat X.endif X Xpost-patch: X ${REINPLACE_CMD} -e 's|^#include f5ab90f94cb9e1819c9ace77f8ed2af0 echo x - barnowl/distinfo sed 's/^X//' >barnowl/distinfo << '838c7aecf8cf7887d8401ff0426b1a5e' XSHA256 (barnowl-1.8-src.tgz) = 3008cc72cfd2c6748a5aea3fa56b06cb3715c202b81c96e980c0ddc816bb6f53 XSIZE (barnowl-1.8-src.tgz) = 788109 838c7aecf8cf7887d8401ff0426b1a5e echo c - barnowl/files/ mkdir -p barnowl/files/ > /dev/null 2>&1 echo x - barnowl/files/patch-message.c sed 's/^X//' >barnowl/files/patch-message.c << '8fa8b03e903e27e5c9981a2ee60b3a26' X--- ./message.c.orig 2012-02-25 00:44:31.000000000 -0500 X+++ ./message.c 2012-02-25 00:44:42.000000000 -0500 X@@ -1,6 +1,7 @@ X #include X #include X #include X+#include X #include X #include X #include 8fa8b03e903e27e5c9981a2ee60b3a26 echo x - barnowl/files/patch-zephyr.c sed 's/^X//' >barnowl/files/patch-zephyr.c << '8fc60ddf1763025ce75e76c1bac9c0bf' X--- ./zephyr.c.orig 2012-02-25 00:44:35.000000000 -0500 X+++ ./zephyr.c 2012-02-25 00:44:58.000000000 -0500 X@@ -3,6 +3,8 @@ X #include X #include X #include X+#include X #include X+#include X #include "owl.h" X 8fc60ddf1763025ce75e76c1bac9c0bf echo x - barnowl/pkg-descr sed 's/^X//' >barnowl/pkg-descr << 'eceee2b75aa5379a978a86c22bb67233' XA curses-based instant-messaging client supporting the Jabber, IRC, AIM Xand Zephyr protocols. Much of the functionality is written in XPerl, which is supported as an extension language. eceee2b75aa5379a978a86c22bb67233 echo x - barnowl/pkg-plist sed 's/^X//' >barnowl/pkg-plist << '9df055513e1fe3afa7640537eefaeed7' Xbin/barnowl Xbin/zcrypt Xshare/barnowl/modules/Jabber.par Xshare/barnowl/modules/IRC.par Xshare/barnowl/modules/Twitter.par Xshare/barnowl/modules/WordWrap.par Xshare/barnowl/lib/BarnOwl.pm Xshare/barnowl/lib/Module/Install/BarnOwl.pm Xshare/barnowl/lib/BarnOwl/MainLoopCompatHook.pm Xshare/barnowl/lib/BarnOwl/ModuleLoader.pm Xshare/barnowl/lib/BarnOwl/Message/AIM.pm Xshare/barnowl/lib/BarnOwl/Message/Loopback.pm Xshare/barnowl/lib/BarnOwl/Message/Zephyr.pm Xshare/barnowl/lib/BarnOwl/Message/Admin.pm Xshare/barnowl/lib/BarnOwl/Message/Generic.pm Xshare/barnowl/lib/BarnOwl/Completion.pm Xshare/barnowl/lib/BarnOwl/Timer.pm Xshare/barnowl/lib/BarnOwl/Completion/Context.pm Xshare/barnowl/lib/BarnOwl/Completion/Util.pm Xshare/barnowl/lib/BarnOwl/Editwin.pm Xshare/barnowl/lib/BarnOwl/Complete/AIM.pm Xshare/barnowl/lib/BarnOwl/Complete/Filter.pm Xshare/barnowl/lib/BarnOwl/Complete/Zephyr.pm Xshare/barnowl/lib/BarnOwl/Complete/Client.pm Xshare/barnowl/lib/BarnOwl/Message.pm Xshare/barnowl/lib/BarnOwl/Hooks.pm Xshare/barnowl/lib/BarnOwl/Help.pm Xshare/barnowl/lib/BarnOwl/Zephyr.pm Xshare/barnowl/lib/BarnOwl/Hook.pm Xshare/barnowl/lib/BarnOwl/Parse.pm Xshare/barnowl/lib/BarnOwl/Style/Default.pm Xshare/barnowl/lib/BarnOwl/Style/Legacy.pm Xshare/barnowl/lib/BarnOwl/Style/Basic.pm Xshare/barnowl/lib/BarnOwl/Style/OneLine.pm Xshare/barnowl/lib/BarnOwl/Style.pm Xshare/doc/barnowl/intro.txt Xshare/doc/barnowl/advanced.txt X X@dirrm share/barnowl/lib/BarnOwl/Complete X@dirrm share/barnowl/lib/BarnOwl/Completion X@dirrm share/barnowl/lib/Module/Install X@dirrm share/barnowl/lib/BarnOwl/Message X@dirrm share/barnowl/lib/BarnOwl/Style X@dirrm share/barnowl/lib/BarnOwl X@dirrm share/barnowl/lib/Module X@dirrm share/barnowl/lib X@dirrm share/barnowl/modules X@dirrm share/barnowl X@dirrm share/doc/barnowl 9df055513e1fe3afa7640537eefaeed7 exit