freebsd-ports/graphics/p5-Image-Imlib2/Makefile
2013-11-05 01:33:02 +00:00

33 lines
873 B
Makefile

# Created by: Erwin Lansing <erwin@FreeBSD.org>
# $FreeBSD$
PORTNAME= Image-Imlib2
PORTVERSION= 2.03
PORTREVISION= 3
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to the Imlib2 image library
BUILD_DEPENDS+= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple
USES= perl5
USE_PERL5= modbuild
USE_EFL= imlib2
.if !defined(NOPORTDOCS)
PORTDOCS= CHANGES
EXAMPLES= examples/benchmark.pl examples/benchmark.txt examples/maeda.pl
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
.include <bsd.port.mk>