# Created by: scheidell@secnap.net

PORTNAME=	PDF-Table
DISTVERSION=	0.12
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Utility class for building table layouts in a PDF::API2 object

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-PDF-API2>=0:textproc/p5-PDF-API2

USES=		perl5
USE_PERL5=	configure

OPTIONS_DEFINE=	EXAMPLES

PORTEXAMPLES=	*

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
