freebsd-ports/graphics/recoverjpeg/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: recoverjpeg
# Date created: 25 Sep 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= recoverjpeg
2007-08-11 22:09:18 +02:00
PORTVERSION= 1.1.2
CATEGORIES= graphics
2006-06-01 14:13:54 +02:00
MASTER_SITES= http://www.rfc1149.net/download/recoverjpeg/ \
2008-03-27 20:27:34 +01:00
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Recoverjpeg tries to recover JFIF (JPEG) pictures from a peripheral
GNU_CONFIGURE= yes
MANCOMPRESSED= no
# recoverjpeg scripts require many dependencies
2007-08-11 22:09:18 +02:00
OPTIONS= SCRIPTS "Install sort-pictures script" off
PLIST_FILES= bin/recoverjpeg
MAN1= recoverjpeg.1
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SCRIPTS)
RUN_DEPENDS= exif:${PORTSDIR}/graphics/exif \
identify:${PORTSDIR}/graphics/ImageMagick
2007-08-11 22:09:18 +02:00
PLIST_FILES+= bin/sort-pictures
MAN1+= sort-pictures.1
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(WITHOUT_SCRIPTS)
2007-08-11 22:09:18 +02:00
.for f in sort-pictures
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
.endif
.for f in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1
.endfor
.include <bsd.port.post.mk>