# New ports collection makefile for:	Xaric
# Date created:		14 Oct 01
# Whom:			alanp@unixpower.org
#
# $FreeBSD: ports/irc/xaric/Makefile,v 1.18 2009/07/04 22:32:05 miwi Exp $
#

PORTNAME=	xaric
PORTVERSION=	0.13.5
CATEGORIES=	irc
MASTER_SITES=	http://xaric.org/software/xaric/releases/

MAINTAINER=	scjamorim@bsd.com.br
COMMENT=	IRC Client similer to BitchX or ircII

USE_GNOME=	gnomehack
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

MAN1=		xaric.1
PLIST_FILES=	bin/xaric \
		%%DATADIR%%/help/copying \
		%%DATADIR%%/help/help \
		%%DATADIR%%/help/warranty
PLIST_DIRS=	%%DATADIR%%/help \
		%%DATADIR%%

post-patch:
	@${REINPLACE_CMD} -e 's|-ggdb3||g' ${WRKSRC}/Makefile.in

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xaric ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xaric.1 ${MANPREFIX}/man/man1
	@${MKDIR} ${DATADIR}/help
	${INSTALL_DATA} ${WRKSRC}/help/* ${DATADIR}/help

.include <bsd.port.mk>
