From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 14 21:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C559BCC4 for ; Thu, 14 Mar 2013 21:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A9FBFC28 for ; Thu, 14 Mar 2013 21:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2ELK2Lg051053 for ; Thu, 14 Mar 2013 21:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2ELK2W0051052; Thu, 14 Mar 2013 21:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 14 Mar 2013 21:20:02 GMT Resent-Message-Id: <201303142120.r2ELK2W0051052@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B35B9AFA for ; Thu, 14 Mar 2013 21:16:27 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id A74AEBF5 for ; Thu, 14 Mar 2013 21:16:26 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.35]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LaIM4-1V15JK0KMA-00lzXz for ; Thu, 14 Mar 2013 22:16:20 +0100 Received: (qmail invoked by alias); 14 Mar 2013 21:16:18 -0000 Received: from 38-21.104-92.cust.bluewin.ch (EHLO something.email.com) [92.104.21.38] by mail.gmx.net (mp035) with SMTP; 14 Mar 2013 22:16:18 +0100 Received: by something.email.com (sSMTP sendmail emulation); Thu, 14 Mar 2013 22:16:18 +0100 Message-Id: <20130314211627.B35B9AFA@hub.freebsd.org> Date: Thu, 14 Mar 2013 22:16:18 +0100 From: nemysis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/176971: [PATCH] graphics/sketch: update to 0.3.7, OptionsNG, license Cc: joerg@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 21:20:02 -0000 >Number: 176971 >Category: ports >Synopsis: [PATCH] graphics/sketch: update to 0.3.7, OptionsNG, license >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 14 21:20:02 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: - Update to 0.3.7 Removed file(s): - files/patch-makefile <-- builds and run good without this patch - pkg-plist <-- only one entry Makefile changed: Port is now safe with NOPORTDOCS=yes in /etc/make.conf +LICENSE= GPLv3 +USE_DOS2UNIX= *.htm *.html *.info *.pl *.sk *.tex *.texi *.txt +.include +.if ${PORT_OPTIONS:MDOCS} +.if ${PORT_OPTIONS:MEXAMPLES} +PLIST_FILES= bin/sketch Changed and refined: do-build: do-install: Port maintainer (joerg@FreeBSD.org) is cc'd. Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) >How-To-Repeat: portlint -A looks fine. port test: clean >Fix: --- sketch-0.3.7.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/sketch/Makefile ./Makefile --- /usr/ports/graphics/sketch/Makefile 2013-01-14 17:57:04.000000000 +0100 +++ ./Makefile 2013-03-14 22:04:14.000000000 +0100 @@ -1,47 +1,62 @@ -# New ports collection makefile for: sketch -# Date created: 09 January 2008 -# Whom: Joerg Wunsch -# +# Created by: Joerg Wunsch # $FreeBSD: head/graphics/sketch/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= sketch -PORTVERSION= 0.2.27 +PORTVERSION= 0.3.7 CATEGORIES= graphics MASTER_SITES= http://www.frontiernet.net/~eugene.ressler/ EXTRACT_SUFX= .tgz MAINTAINER= joerg@FreeBSD.org -COMMENT= A 3D Scene Description Translator +COMMENT= 3D Scene Description Translator -USE_GMAKE= yes -USE_PERL5_BUILD= yes +LICENSE= GPLv3 -.if !defined(NOPORTDOCS) -PORTDOCS= manual.html manual.pdf manual +USE_GMAKE= yes +MAKEFILE= makefile +USE_PERL5_BUILD=yes +USE_DOS2UNIX= *.htm *.html *.info *.pl *.sk *.tex *.texi *.txt + +.include + +.if ${PORT_OPTIONS:MDOCS} +PORTDOCS= * +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= readme updates.htm + +DOCSRCDIR2= ${WRKSRC}/Doc/sketch +DOCSDIR2= ${DOCSDIR}/Doc/sketch +DOC_FILES2= * + +DOCSRCDIR3= ${WRKSRC}/Doc +DOCSDIR3= ${DOCSDIR}/Doc +DOC_FILES3= *.eps *.pdf *.png *.sk *.txt *.tex *.texi .endif -.if !defined(NOPORTEXAMPLES) -PORTEXAMPLES= 2tori.sk buggy.sk bunny.sk cone.sk hand.sk test.sk +.if ${PORT_OPTIONS:MEXAMPLES} +PORTEXAMPLES= *.sk .endif -.include - -do-configure: +PLIST_FILES= bin/sketch do-build: - cd ${WRKSRC} && ${GMAKE} CFLAGS="${CFLAGS}" -f makefile + cd ${WRKSRC} && ${GMAKE} CFLAGS="${CFLAGS}" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sketch ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Doc/manual.html ${WRKSRC}/Doc/manual.pdf ${DOCSDIR} - cd ${WRKSRC}/Doc && ${FIND} manual -type f | ${CPIO} -dumpv ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} + @${MKDIR} ${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} + @${MKDIR} ${DOCSDIR3} + ${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${DOCSDIR3} .endif -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} + +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/Data && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} .endif -.include +.include diff -ruN --exclude=CVS /usr/ports/graphics/sketch/distinfo ./distinfo --- /usr/ports/graphics/sketch/distinfo 2013-01-14 17:57:04.000000000 +0100 +++ ./distinfo 2013-03-14 12:38:54.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (sketch-0.2.27.tgz) = 8afa70fda5450b0accbc1b377d9410c9fde29e6aa084984f34111c1006a574d6 -SIZE (sketch-0.2.27.tgz) = 2859938 +SHA256 (sketch-0.3.7.tgz) = 12962ad5fe5a0f7c9fc6d84bd4d09b879bbf604975c839405f1613be657ba804 +SIZE (sketch-0.3.7.tgz) = 2882384 diff -ruN --exclude=CVS /usr/ports/graphics/sketch/files/patch-makefile ./files/patch-makefile --- /usr/ports/graphics/sketch/files/patch-makefile 2013-01-14 17:57:04.000000000 +0100 +++ ./files/patch-makefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ ---- makefile.orig Tue Sep 25 06:24:08 2007 -+++ makefile Wed Jan 9 14:44:25 2008 -@@ -5,8 +5,7 @@ - # - # makefile v0.03 - # --CC = gcc -O1 -g --YACC = bison --defines --debug --report=all --yacc -+YACC = yacc - LEX = flex - - verdata=$(shell cat version.dat) -@@ -38,7 +37,7 @@ - version.h y.tab.h - - $(EXE) : $(OBJECTS) -- $(CC) -o $(EXE) $(OBJECTS) -lm -+ $(CC) $(CFLAGS) -o $(EXE) $(OBJECTS) -lm - - y.tab.c y.tab.h : sketch.y - $(YACC) $< diff -ruN --exclude=CVS /usr/ports/graphics/sketch/pkg-plist ./pkg-plist --- /usr/ports/graphics/sketch/pkg-plist 2013-01-14 17:57:04.000000000 +0100 +++ ./pkg-plist 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -bin/sketch --- sketch-0.3.7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: