2011-12-11 15:50:25 +01:00
|
|
|
# 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
|
|
|
|
|
2012-06-30 14:42:52 +02:00
|
|
|
BUILD_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool
|
2011-12-11 15:50:25 +01:00
|
|
|
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)
|
2012-07-03 19:38:41 +02:00
|
|
|
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
|
2011-12-11 15:50:25 +01:00
|
|
|
.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>
|