28 lines
636 B
Makefile
28 lines
636 B
Makefile
# Created by: Erwin Lansing <erwin@FreeBSD.org>
|
|
|
|
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>
|