summaryrefslogblamecommitdiff
path: root/graphics/renrot/Makefile
blob: 0a65bb3fbf7b2f59824e05fdb1c989be68adc268 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                                  
           










                                                                            
                                                                           



                                

                                                         





                                                  

                                                                                          







                                                            
                         




                                                              
# Created by: 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=	p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

OPTIONS_DEFINE=	IMAGEMAGICK DOCS
IMAGEMAGICK_DESC=	Image::Magick Perl module support

MAN1=		${PORTNAME}.1
PORTDOCS=	AUTHORS README ChangeLog NEWS TODO

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MIMAGEMAGICK}
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 ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>