aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-Imlib2/Makefile
blob: fa6c6c8ed7fc4aaf5d8ae1f88c09842aed605464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Erwin Lansing <erwin@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Image-Imlib2
PORTVERSION=    2.03
PORTREVISION=   4
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

OPTIONS_DEFINE= DOCS EXAMPLES

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}."

.include <bsd.port.mk>