From 905f81133121df6d978bcb91268566f2f6b302e8 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Sat, 8 Sep 2012 13:09:10 +0000 Subject: - Use OPTIONSng - Remove deprecated header information --- graphics/recoverjpeg/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'graphics/recoverjpeg/Makefile') diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile index 70f45e2f192a..c39c5252980e 100644 --- a/graphics/recoverjpeg/Makefile +++ b/graphics/recoverjpeg/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: recoverjpeg -# Date created: 25 Sep 2005 -# Whom: Emanuel Haupt -# # $FreeBSD$ -# PORTNAME= recoverjpeg PORTVERSION= 2.1.1 @@ -20,15 +15,16 @@ GNU_CONFIGURE= yes MANCOMPRESSED= no MAKE_JOBS_SAFE= yes -# recoverjpeg scripts require many dependencies -OPTIONS= SCRIPTS "Install sort-pictures script" off - PLIST_FILES= bin/recoverjpeg MAN1= recoverjpeg.1 -.include +# recoverjpeg scripts require many dependencies +OPTIONS_DEFINE= SSCRIPTS +SSCRIPTS_DESC= Install sort-pictures script + +.include -.if !defined(WITHOUT_SCRIPTS) +.if ${PORT_OPTIONS:MSSCRIPTS} RUN_DEPENDS= exif:${PORTSDIR}/graphics/exif \ identify:${PORTSDIR}/graphics/ImageMagick PLIST_FILES+= bin/sort-pictures @@ -37,7 +33,7 @@ MAN1+= sort-pictures.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(WITHOUT_SCRIPTS) +.if ${PORT_OPTIONS:MSSCRIPTS} .for f in sort-pictures ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin .endfor @@ -46,4 +42,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1 .endfor -.include +.include -- cgit v1.2.3