Date: Sat, 8 Sep 2012 13:09:11 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303900 - head/graphics/recoverjpeg Message-ID: <201209081309.q88D9BUQ089705@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Sat Sep 8 13:09:10 2012 New Revision: 303900 URL: http://svn.freebsd.org/changeset/ports/303900 Log: - Use OPTIONSng - Remove deprecated header information Modified: head/graphics/recoverjpeg/Makefile Modified: head/graphics/recoverjpeg/Makefile ============================================================================== --- head/graphics/recoverjpeg/Makefile Sat Sep 8 12:42:02 2012 (r303899) +++ head/graphics/recoverjpeg/Makefile Sat Sep 8 13:09:10 2012 (r303900) @@ -1,9 +1,4 @@ -# New ports collection makefile for: recoverjpeg -# Date created: 25 Sep 2005 -# Whom: Emanuel Haupt <ehaupt@critical.ch> -# # $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 <bsd.port.pre.mk> +# recoverjpeg scripts require many dependencies +OPTIONS_DEFINE= SSCRIPTS +SSCRIPTS_DESC= Install sort-pictures script + +.include <bsd.port.options.mk> -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209081309.q88D9BUQ089705>