# 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/pkg-plist
#	barnowl/pkg-descr
#	barnowl/distinfo
#
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: 17 November 2009
X# Whom:         Ben Kaduk <kaduk@mit.edu>
X#
X# $FreeBSD$
X
XPORTNAME=       barnowl
XPORTVERSION=    1.4
XCATEGORIES=     net-im
XMASTER_SITES=   http://barnowl.mit.edu/dist/
XEXTRACT_SUFX=	-src.tgz
X
XMAINTAINER=     kaduk-fbsd@mit.edu
XCOMMENT=        A curses-based multi-protocol IM client
X
XBUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config
XBUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip
XLIB_DEPENDS=	glib-2.0:${PORTSDIR}/devel/glib20
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
X
XWRKSRC=         ${WRKDIR}/barnowl-1.4-src
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_PERL5_RUN=	yes
X
XLDFLAGS+=       -L${LOCALBASE}/lib
XCFLAGS+=      -I${LOCALBASE}/include
XCPPFLAGS+=      -I${LOCALBASE}/include
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=	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 <bsd.port.options.mk>
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}/Net/IRC.pm:${PORTSDIR}/irc/p5-IRC
X.endif
X
X.if defined(WITH_TEXTWRAP)
XRUN_DEPENDS+=	${SITE_PERL}/Text/Autoformat.pm:${PORTSDIR}/textproc/p5-Text-Autoformat
X.endif
X
X.include <bsd.port.mk>
f5ab90f94cb9e1819c9ace77f8ed2af0
echo x - barnowl/pkg-plist
sed 's/^X//' >barnowl/pkg-plist << '9df055513e1fe3afa7640537eefaeed7'
Xbin/barnowl
Xshare/barnowl/modules/Jabber.par
Xshare/barnowl/modules/IRC.par
Xshare/barnowl/modules/WordWrap.par
Xshare/barnowl/lib/BarnOwl.pm
Xshare/barnowl/lib/Module/Install/BarnOwl.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/Zephyr.pm
Xshare/barnowl/lib/BarnOwl/Hook.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
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
9df055513e1fe3afa7640537eefaeed7
echo x - barnowl/pkg-descr
sed 's/^X//' >barnowl/pkg-descr << 'eceee2b75aa5379a978a86c22bb67233'
Xinstant messaging
eceee2b75aa5379a978a86c22bb67233
echo x - barnowl/distinfo
sed 's/^X//' >barnowl/distinfo << '838c7aecf8cf7887d8401ff0426b1a5e'
XMD5 (barnowl-1.4-src.tgz) = 1855df3154f44661d64f963e79250a35
XSHA256 (barnowl-1.4-src.tgz) = 337564c9b8d0c24f61e2c74794da5ff1b09c255f99c8082003754fea11975a0c
XSIZE (barnowl-1.4-src.tgz) = 821907
838c7aecf8cf7887d8401ff0426b1a5e
exit

