diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2012-09-08 13:09:10 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2012-09-08 13:09:10 +0000 |
commit | 905f81133121df6d978bcb91268566f2f6b302e8 (patch) | |
tree | c7ddc292dfc9d4d6bd990b9bf173c846dfa663ea /graphics/recoverjpeg/Makefile | |
parent | 9b3979a68c88b15cc5df68c0c8dfc6e9bc211c73 (diff) | |
download | ports-905f81133121df6d978bcb91268566f2f6b302e8.tar.gz ports-905f81133121df6d978bcb91268566f2f6b302e8.zip |
Notes
Diffstat (limited to 'graphics/recoverjpeg/Makefile')
-rw-r--r-- | graphics/recoverjpeg/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
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 <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> |