# New ports collection makefile for:	py-librtfcomp
# Date Created:				13 June 2008
# Whom:					Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD: ports/archivers/py-librtfcomp/Makefile,v 1.2 2009/05/28 20:44:04 avl Exp $
#

CATEGORIES=	archivers python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	avl@FreeBSD.org
COMMENT=	Python bindings for the LZRTF compression library

LIB_DEPENDS=	rtfcomp.0:${PORTSDIR}/archivers/librtfcomp
BUILD_DEPENDS=	pyrexc:${PORTSDIR}/devel/pyrex

MASTERDIR=	${.CURDIR}/../librtfcomp

USE_PYTHON=	yes

PLIST=		${.CURDIR}/pkg-plist

RTFCOMP_SLAVE=	pythonb

do-install:
	@(cd ${WRKSRC}/python && ${MAKE} install)

.include "${MASTERDIR}/Makefile"
