1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add RenRot, Perl utility for various processing tasks on the image files, and

give maintainership to the author per his kind agreement.

WWW: http://puszcza.gnu.org.ua/projects/renrot/

Feature safe:	yes
This commit is contained in:
Alexey Dokuchaev 2011-12-11 14:50:25 +00:00
parent d3bfc2b364
commit a4cb92abac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287183
5 changed files with 72 additions and 0 deletions

View File

@ -844,6 +844,7 @@
SUBDIR += rayshade
SUBDIR += reallyslick
SUBDIR += recoverjpeg
SUBDIR += renrot
SUBDIR += repng2jpeg
SUBDIR += rgbpaint
SUBDIR += ristretto

45
graphics/renrot/Makefile Normal file
View File

@ -0,0 +1,45 @@
# New ports collection makefile for: RenRot
# Date created: 11 Dec 2011
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= renrot
PORTVERSION= 1.1
CATEGORIES= graphics perl5
MASTER_SITES= ftp://download.gnu.org.ua/pub/release/${PORTNAME}/
MAINTAINER= zeus@ibs.dn.ua
COMMENT= Perl utility for various processing tasks on the image files
LICENSE= ART20
BUILD_DEPENDS= ${SITE_PERL}/Image/ExifTool.pm:${PORTSDIR}/graphics/p5-Image-ExifTool
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
OPTIONS= IMAGEMAGICK "Enable Image::Magick module support" off
MAN1= ${PORTNAME}.1
PORTDOCS= AUTHORS README ChangeLog NEWS TODO
.include <bsd.port.options.mk>
.if defined(WITH_IMAGEMAGICK)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
.endif
post-install:
@${MKDIR} ${PREFIX}/etc/${PORTNAME}
.for conf in colors.conf copyright.tag renrot.conf tags.conf
${INSTALL_DATA} ${WRKSRC}/etc/${conf} \
${PREFIX}/etc/${PORTNAME}/${conf}.sample
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>

2
graphics/renrot/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (renrot-1.1.tar.gz) = 40b084bc7ff615fef62e560010b60299d3c7a3a19e576ef7c64962fdffdd79a4
SIZE (renrot-1.1.tar.gz) = 50446

16
graphics/renrot/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
RenRot is utility written in Perl, aiming to carry out different processing
tasks upon the image files (especially those containing EXIF data).
RenRot renames files according to the flexible name template (allowing
DateTimeOriginal and FileModifyDate EXIF tags, if they exist, otherwise, the
name will be set according to the current time stamp). Furthermore, RenRot
can aggregate files according to the shooting time period.
Additionally, it can losslessly rotate JPEGs and their thumbnails, based on
Orientation EXIF tag, or given angle.
The script can also put commentary into the Commentary and UserComment tags.
Personal details can be specified via XMP tags defined in a configuration
file.
WWW: http://puszcza.gnu.org.ua/projects/renrot/

View File

@ -0,0 +1,8 @@
bin/renrot
etc/renrot/colors.conf.sample
etc/renrot/copyright.tag.sample
etc/renrot/renrot.conf.sample
etc/renrot/tags.conf.sample
@dirrm etc/renrot
%%SITE_PERL%%/%%PERL_ARCH%%/auto/renrot/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/renrot