1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/graphics/recoverjpeg/Makefile
Edwin Groothuis e62864a49b Chase libversion bumb to libMagick.so.9
PR:		ports/91270
2006-01-05 03:57:35 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: recoverjpeg
# Date created: 25 Sep 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= recoverjpeg
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.rfc1149.net/download/recoverjpeg/
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
OPTIONS= SCRIPTS "Install sort-pictures and remove-duplicates scripts" on
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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
PLIST_FILES+= bin/sort-pictures bin/remove-duplicates
MAN1+= sort-pictures.1
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(WITHOUT_SCRIPTS)
.for f in sort-pictures remove-duplicates
${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>