* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
37 lines
986 B
Makefile
37 lines
986 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= renrot
|
|
PORTVERSION= 1.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= ftp://download.gnu.org.ua/pub/release/${PORTNAME}/
|
|
|
|
MAINTAINER= zeus@ibs.dn.ua
|
|
COMMENT= Program to rename and rotate image files according to EXIF tags
|
|
|
|
LICENSE= ART20
|
|
|
|
BUILD_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5 jpeg:run
|
|
USE_PERL5= configure
|
|
|
|
PORTDOCS= AUTHORS README README.russian ChangeLog NEWS TODO
|
|
|
|
OPTIONS_DEFINE= IMAGEMAGICK DOCS
|
|
IMAGEMAGICK_DESC= Image::Magick Perl module support
|
|
|
|
IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
.for conf in colors.conf copyright.tag renrot.conf tags.conf
|
|
${INSTALL_DATA} ${WRKSRC}/etc/${conf} \
|
|
${STAGEDIR}${ETCDIR}/${conf}.sample
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|