1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/graphics/renrot/Makefile
Alexey Dokuchaev 21acd68f79 - Update to version 1.2.0
- Reword COMMENT and port description
- Register run-time dependency on jpegtran(1)
- Install Russian language README file

Requested by:	maintainer
2013-06-10 00:22:51 +00:00

42 lines
1.0 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= renrot
PORTVERSION= 1.2.0
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:${PORTSDIR}/graphics/p5-Image-ExifTool
RUN_DEPENDS:= ${BUILD_DEPENDS} jpegtran:${PORTSDIR}/graphics/jpeg
PERL_CONFIGURE= yes
OPTIONS_DEFINE= IMAGEMAGICK DOCS
IMAGEMAGICK_DESC= Image::Magick Perl module support
MAN1= ${PORTNAME}.1
PORTDOCS= AUTHORS README README.russian ChangeLog NEWS TODO
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGEMAGICK}
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
.endif
post-install:
@${MKDIR} ${ETCDIR}
.for conf in colors.conf copyright.tag renrot.conf tags.conf
${INSTALL_DATA} ${WRKSRC}/etc/${conf} ${ETCDIR}/${conf}.sample
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>