Date: Sat, 23 Mar 2013 12:37:04 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/177308: [PATCH] graphics/imc: Convert to OptionsNG Message-ID: <20130323113714.1035569@hub.freebsd.org> Resent-Message-ID: <201303231140.r2NBe0va030714@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177308 >Category: ports >Synopsis: [PATCH] graphics/imc: 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 11: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 - Add license - Bump portrevision Removed file(s): - pkg-plist Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- imc-4.3_7.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/imc/Makefile ./Makefile --- /usr/ports/graphics/imc/Makefile 2013-01-14 17:57:01.000000000 +0100 +++ ./Makefile 2013-03-23 12:07:47.000000000 +0100 @@ -1,20 +1,17 @@ -# ex:ts=8 -# New ports collection makefile for: imc -# Date created: Apr 30, 2002 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# +# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> # $FreeBSD: head/graphics/imc/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= imc PORTVERSION= 4.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics -MASTER_SITES= http://users.skynet.be/Peter.Verthez/projects/imc/ +MASTER_SITES= http://www.peterverthez.net/projects/imc/ MAINTAINER= ports@FreeBSD.org COMMENT= Image Compiler +LICENSE= GPLv2 + BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -23,16 +20,32 @@ USE_GMAKE= yes USE_PERL5= yes -MAN1= imc.1 +PLIST_FILES= bin/${PORTNAME} +MAN1= ${PORTNAME}.1 + +PORTDOCS= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= AUTHORS ChangeLog NEWS README THANKS Todo + +DOCSRCDIR2= ${WRKSRC}/doc +DOCSDIR2= ${DOCSDIR}/doc +DOC_FILES2= *.html *.ref *.txt + +PORTEXAMPLES= * + +.include <bsd.port.options.mk> post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} + ${MKDIR} ${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/graphics/imc/pkg-plist ./pkg-plist --- /usr/ports/graphics/imc/pkg-plist 2013-01-14 17:57:01.000000000 +0100 +++ ./pkg-plist 1970-01-01 01:00:00.000000000 +0100 @@ -1,60 +0,0 @@ -bin/imc -%%PORTDOCS%%%%DOCSDIR%%/Makefile -%%PORTDOCS%%%%DOCSDIR%%/Makefile.am -%%PORTDOCS%%%%DOCSDIR%%/Makefile.in -%%PORTDOCS%%%%DOCSDIR%%/imc.html -%%PORTDOCS%%%%DOCSDIR%%/imc.ref -%%PORTDOCS%%%%DOCSDIR%%/imc.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arc.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic2.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basicjpg.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basicgif.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/closedarc.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/closedarc2.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fill.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid200x200.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/imagealign1.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/imagealign2.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/imagerotate.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/imcmp.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/next.jpg -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/next.gif -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/next.png -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/origin.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/piechart.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/Makefile.in -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/Makefile.am -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/arc.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/basic.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/basic2.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/basicjpg.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/basicgif.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/closedarc.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/closedarc2.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/fill.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/grid200x200.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/imagealign1.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/imagealign2.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/imagerotate.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/origin.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/piechart.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/text.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/textalign1.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/textalign2.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/textrotate.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/Makefile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ref/transparent.png.ref -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rgb.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_script -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textalign1.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textalign2.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/textrotate.imc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transparent.imc -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ref -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% --- imc-4.3_7.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?20130323113714.1035569>