aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-Imlib2/Makefile
blob: ec760a0158fcf902c1aee3ed01ffc697427df3d4 (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
# Created by: Erwin Lansing <erwin@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Image-Imlib2
PORTVERSION=    2.03
PORTREVISION=   6
CATEGORIES= graphics perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl interface to the Imlib2 image library

LIB_DEPENDS=    libImlib2.so:graphics/imlib2

USES=       perl5
USE_PERL5=  modbuild

OPTIONS_DEFINE= EXAMPLES

EXAMPLES=   examples/benchmark.pl examples/benchmark.txt examples/maeda.pl

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
    @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."

.include <bsd.port.mk>