# New ports collection makefile for:	ecru
# Date created:				2008-12-13
# Whom:					Roman Bogorodskiy <novel@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/deskutils/ecru/Makefile 313633 2013-03-08 10:51:34Z kwm $
#

PORTNAME=	ecru
PORTVERSION=	0.1.0
PORTREVISION=	4
CATEGORIES=	deskutils
MASTER_SITES=	http://novel.evilcoder.org/ecru/files/

MAINTAINER=	novel@FreeBSD.org
COMMENT=	Flexible command line LiveJournal client

LIB_DEPENDS=	xmlrpc.3:${PORTSDIR}/net/xmlrpc-c \
		config++.10:${PORTSDIR}/devel/libconfig \
		glibmm-2.4.1:${PORTSDIR}/devel/glibmm

USE_PYTHON_BUILD=	yes
USE_BZIP2=		yes
MANCOMPRESSED=		yes
USE_LDCONFIG=		yes
USE_PKGCONFIG=		build

MAN1=	ecru-config.1 ecru-delete.1 ecru-edit.1 \
	ecru-info.1 ecru-list.1 ecru-post.1

do-configure:
	@cd ${WRKSRC} && ./waf configure --prefix="${PREFIX}"

do-build:
	@cd ${WRKSRC} && ./waf build

do-install:
	@cd ${WRKSRC} && ./waf install

.include <bsd.port.mk>
