Date: Sat, 23 Mar 2013 04:30:29 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Cc: freebsd@nagilum.org Subject: ports/177298: [PATCH] graphics/import-pictures: Convert to OptionsNG Message-ID: <20130323033039.4D7BF6A6@hub.freebsd.org> Resent-Message-ID: <201303230340.r2N3e0he037450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177298 >Category: ports >Synopsis: [PATCH] graphics/import-pictures: Convert to OptionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 23 03:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 >Description: - Convert to OptionsNG - Makefile tweaks Removed file(s): - pkg-plist Port maintainer (freebsd@nagilum.org) is cc'd. Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- import-pictures-1.4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/import-pictures/Makefile ./Makefile --- /usr/ports/graphics/import-pictures/Makefile 2013-01-14 17:56:59.000000000 +0100 +++ ./Makefile 2013-03-23 04:22:23.000000000 +0100 @@ -1,9 +1,5 @@ -# New ports collection makefile for: import-pictures -# Date created: 7 May 2008 -# Whom: Alexander Kuehn -# +# Created by: Alexander Kuehn # $FreeBSD: head/graphics/import-pictures/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= import-pictures PORTVERSION= 1.4 @@ -13,22 +9,30 @@ MAINTAINER= freebsd@nagilum.org COMMENT= Utility to copy/move pictures from a directory -RUN_DEPENDS= p5-Image-ExifTool>=7.0:${PORTSDIR}/graphics/p5-Image-ExifTool \ - p5-TimeDate>=1.10:${PORTSDIR}/devel/p5-TimeDate \ - p5-Time-modules>=2006:${PORTSDIR}/devel/p5-Time-modules +LICENSE= GPLv2 + +RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \ + p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \ + p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules USE_BZIP2= yes USE_GMAKE= yes USE_PERL5= yes -MAN1= import-pictures.1 +PLIST_FILES= bin/${PORTNAME} + +MAN1= ${PORTNAME}.1 + +PORTDOCS= import-pictures.html + +.include <bsd.port.options.mk> post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/import-pictures ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/import-pictures.1 ${MANPREFIX}/man/man1/ -.if !defined(NOPORTDOCS) + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/import-pictures.html ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/graphics/import-pictures/pkg-plist ./pkg-plist --- /usr/ports/graphics/import-pictures/pkg-plist 2013-01-14 17:56:59.000000000 +0100 +++ ./pkg-plist 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -bin/import-pictures -%%PORTDOCS%%%%DOCSDIR%%/import-pictures.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% --- import-pictures-1.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130323033039.4D7BF6A6>