2012-11-01 09:53:01 +01:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2011-12-11 15:50:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= renrot
|
2013-06-10 02:22:51 +02:00
|
|
|
PORTVERSION= 1.2.0
|
2014-11-26 14:08:24 +01:00
|
|
|
PORTREVISION= 1
|
2011-12-11 15:50:25 +01:00
|
|
|
CATEGORIES= graphics perl5
|
|
|
|
MASTER_SITES= ftp://download.gnu.org.ua/pub/release/${PORTNAME}/
|
|
|
|
|
|
|
|
MAINTAINER= zeus@ibs.dn.ua
|
2013-06-10 02:22:51 +02:00
|
|
|
COMMENT= Program to rename and rotate image files according to EXIF tags
|
2011-12-11 15:50:25 +01:00
|
|
|
|
|
|
|
LICENSE= ART20
|
|
|
|
|
2012-06-30 14:42:52 +02:00
|
|
|
BUILD_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool
|
2013-06-10 02:22:51 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS} jpegtran:${PORTSDIR}/graphics/jpeg
|
2011-12-11 15:50:25 +01:00
|
|
|
|
2013-09-16 19:07:26 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2011-12-11 15:50:25 +01:00
|
|
|
|
2013-06-10 02:22:51 +02:00
|
|
|
PORTDOCS= AUTHORS README README.russian ChangeLog NEWS TODO
|
2011-12-11 15:50:25 +01:00
|
|
|
|
2014-06-08 11:07:34 +02:00
|
|
|
OPTIONS_DEFINE= IMAGEMAGICK DOCS
|
|
|
|
IMAGEMAGICK_DESC= Image::Magick Perl module support
|
2011-12-11 15:50:25 +01:00
|
|
|
|
2014-06-08 11:07:34 +02:00
|
|
|
IMAGEMAGICK_RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
|
2011-12-11 15:50:25 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-06-08 11:07:34 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
2011-12-11 15:50:25 +01:00
|
|
|
.for conf in colors.conf copyright.tag renrot.conf tags.conf
|
2014-06-08 11:07:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/${conf} \
|
|
|
|
${STAGEDIR}${ETCDIR}/${conf}.sample
|
2011-12-11 15:50:25 +01:00
|
|
|
.endfor
|
2014-06-08 11:07:34 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2011-12-11 15:50:25 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|