Update graphics/p5-Chart to version 2.4.9
[dports.git] / graphics / renrot / Makefile
1 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       renrot
5 PORTVERSION=    1.2.0
6 PORTREVISION=   1
7 CATEGORIES=     graphics perl5
8 MASTER_SITES=   ftp://download.gnu.org.ua/pub/release/${PORTNAME}/
9
10 MAINTAINER=     zeus@ibs.dn.ua
11 COMMENT=        Program to rename and rotate image files according to EXIF tags
12
13 LICENSE=        ART20
14
15 BUILD_DEPENDS=  p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool
16 RUN_DEPENDS:=   ${BUILD_DEPENDS} jpegtran:${PORTSDIR}/graphics/jpeg
17
18 USES=           perl5
19 USE_PERL5=      configure
20
21 PORTDOCS=       AUTHORS README README.russian ChangeLog NEWS TODO
22
23 OPTIONS_DEFINE= IMAGEMAGICK DOCS
24 IMAGEMAGICK_DESC=       Image::Magick Perl module support
25
26 IMAGEMAGICK_RUN_DEPENDS=        convert:${PORTSDIR}/graphics/ImageMagick
27
28 post-install:
29         @${MKDIR} ${STAGEDIR}${ETCDIR}
30 .for conf in colors.conf copyright.tag renrot.conf tags.conf
31         ${INSTALL_DATA} ${WRKSRC}/etc/${conf} \
32                 ${STAGEDIR}${ETCDIR}/${conf}.sample
33 .endfor
34         @${MKDIR} ${STAGEDIR}${DOCSDIR}
35         ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
36
37 .include <bsd.port.mk>