freebsd-ports/graphics/recoverjpeg/Makefile

44 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= recoverjpeg
2012-11-13 15:00:53 +01:00
PORTVERSION= 2.2
CATEGORIES= graphics
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Recoverjpeg tries to recover JFIF (JPEG) pictures from a peripheral
2011-12-27 16:14:23 +01:00
LICENSE= GPLv2
GNU_CONFIGURE= yes
MANPAGE1= recoverjpeg.1
2013-10-28 13:24:48 +01:00
PLIST_FILES= bin/recoverjpeg man/man1/recoverjpeg.1.gz
# recoverjpeg scripts require many dependencies
OPTIONS_DEFINE= SSCRIPTS
SSCRIPTS_DESC= Install sort-pictures script
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSCRIPTS}
RUN_DEPENDS= exif:${PORTSDIR}/graphics/exif \
identify:${PORTSDIR}/graphics/ImageMagick
2013-10-28 13:24:48 +01:00
PLIST_FILES+= bin/sort-pictures man/man1/sort-pictures.1.gz
MANPAGE1+= sort-pictures.1
.endif
do-install:
2013-10-28 13:24:48 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MSSCRIPTS}
2007-08-11 22:09:18 +02:00
.for f in sort-pictures
2013-10-28 13:24:48 +01:00
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.endif
.for f in ${MANPAGE1}
2013-10-28 13:24:48 +01:00
${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>