From owner-svn-ports-head@FreeBSD.ORG Wed Dec 25 18:15:43 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11694DE1; Wed, 25 Dec 2013 18:15:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F0EAB183A; Wed, 25 Dec 2013 18:15:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBPIFgkO044291; Wed, 25 Dec 2013 18:15:42 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBPIFfZl044285; Wed, 25 Dec 2013 18:15:41 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312251815.rBPIFfZl044285@svn.freebsd.org> From: Pawel Pekala Date: Wed, 25 Dec 2013 18:15:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337436 - in head/graphics/rayshade: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2013 18:15:43 -0000 Author: pawel Date: Wed Dec 25 18:15:41 2013 New Revision: 337436 URL: http://svnweb.freebsd.org/changeset/ports/337436 Log: - Fix build on -current - Remove leading article from COMMENT - Support staging PR: ports/184236 Submitted by: KATO Tsuguru Added: head/graphics/rayshade/files/patch-etc__rsconvert__lex.l (contents, props changed) head/graphics/rayshade/files/patch-etc__rsconvert__yacc.y (contents, props changed) head/graphics/rayshade/files/patch-libray__libtext__texture.c (contents, props changed) head/graphics/rayshade/files/patch-libshade__lex.l (contents, props changed) head/graphics/rayshade/files/patch-libshade__yacc.y (contents, props changed) Deleted: head/graphics/rayshade/files/patch-ab Modified: head/graphics/rayshade/Makefile (contents, props changed) Modified: head/graphics/rayshade/Makefile ============================================================================== --- head/graphics/rayshade/Makefile Wed Dec 25 18:05:51 2013 (r337435) +++ head/graphics/rayshade/Makefile Wed Dec 25 18:15:41 2013 (r337436) @@ -8,20 +8,18 @@ CATEGORIES= graphics MASTER_SITES= http://ccl.net/cca/software/SOURCES/C/rayshade/ \ http://www.mirrorservice.org/sites/graphics.stanford.edu/pub/rayshade/ \ ftp://graphics.stanford.edu/pub/rayshade/ -DISTNAME= ${PORTNAME}.${PORTVERSION} -EXTRACT_SUFX= .tar.Z -.if !defined(NOPORTDOCS) -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} guide.ps.Z -.endif -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES= ${PORTNAME}.${PORTVERSION}.tar.Z ${GUIDE_PS_Z} DIST_SUBDIR= rayshade +EXTRACT_ONLY= ${PORTNAME}.${PORTVERSION}.tar.Z MAINTAINER= ports@FreeBSD.org -COMMENT= An extensible system for creating ray-traced images +COMMENT= Extensible system for creating ray-traced images BUILD_DEPENDS= $(LOCALBASE)/lib/librle.a:${PORTSDIR}/graphics/urt -WRKSRC= ${WRKDIR}/${PORTNAME}.4.0 +OPTIONS_DEFINE= DOCS EXAMPLES + +WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION:R} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure @@ -31,11 +29,16 @@ PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/rayshade +.include + +.if ${PORT_OPTIONS:MDOCS} +GUIDE_PS_Z= guide.ps.Z +.endif + .if defined(BATCH) || defined(PACKAGE_BUILDING) CONFIGURE_ARGS= < ${WRKDIR}/config.ans .endif -NO_STAGE= yes pre-configure: @${SED} -e \ "s,@CFLAGS@,${CFLAGS},g ; \ @@ -45,14 +48,15 @@ pre-configure: < ${FILESDIR}/config.ans > ${WRKDIR}/config.ans do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rayshade/rayshade ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/guide.ps.Z ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/Examples/* ${EXAMPLESDIR} + (cd ${WRKSRC}/rayshade && ${INSTALL_PROGRAM} rayshade \ + ${STAGEDIR}${PREFIX}/bin) +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${GUIDE_PS_Z} \ + ${STAGEDIR}${DOCSDIR}) .endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/Examples && ${INSTALL_DATA} * \ + ${STAGEDIR}${EXAMPLESDIR}) .include Added: head/graphics/rayshade/files/patch-etc__rsconvert__lex.l ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rayshade/files/patch-etc__rsconvert__lex.l Wed Dec 25 18:15:41 2013 (r337436) @@ -0,0 +1,19 @@ +--- etc/rsconvert/lex.l.orig 1992-02-10 12:03:54.000000000 +0900 ++++ etc/rsconvert/lex.l 2013-05-28 22:55:24.000000000 +0900 +@@ -22,6 +22,7 @@ + #include "libcommon/common.h" + #include "y.tab.h" + %} ++%option yylineno + alpha [a-zA-Z] + special [\.\_-] + digit [0-9] +@@ -113,7 +114,7 @@ + if ((c = input()) == '/') { + WriteChar(c); + WriteNewline(); +- return; ++ return FALSE; + } + unput(c); + } Added: head/graphics/rayshade/files/patch-etc__rsconvert__yacc.y ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rayshade/files/patch-etc__rsconvert__yacc.y Wed Dec 25 18:15:41 2013 (r337436) @@ -0,0 +1,10 @@ +--- etc/rsconvert/yacc.y.orig ++++ etc/rsconvert/yacc.y +@@ -14,6 +14,7 @@ + /* $Id: yacc.y,v 4.0.1.3 92/02/07 11:05:21 cek Exp Locker: cek $ */ + %{ + #include ++#include + #include "libcommon/common.h" + + #define NEWLINE() WriteNewline() Added: head/graphics/rayshade/files/patch-libray__libtext__texture.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rayshade/files/patch-libray__libtext__texture.c Wed Dec 25 18:15:41 2013 (r337436) @@ -0,0 +1,11 @@ +--- libray/libtext/texture.c.orig 1992-02-10 12:04:02.000000000 +0900 ++++ libray/libtext/texture.c 2013-05-28 22:41:59.000000000 +0900 +@@ -162,7 +162,7 @@ + *u = ptmp.x; + *v = ptmp.y; + if (dpdu == (Vector *)NULL || dpdv == (Vector *)NULL) +- return; ++ return FALSE; + /* + * Here's the ugly part. + * Build initial UVN-->XYZ matrix... Added: head/graphics/rayshade/files/patch-libshade__lex.l ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rayshade/files/patch-libshade__lex.l Wed Dec 25 18:15:41 2013 (r337436) @@ -0,0 +1,19 @@ +--- libshade/lex.l.orig 1992-02-10 12:04:02.000000000 +0900 ++++ libshade/lex.l 2013-05-28 22:45:54.000000000 +0900 +@@ -29,6 +29,7 @@ + #include "y.tab.h" + extern char *strsave(); + %} ++%option yylineno + alpha [a-zA-Z] + special [\.\_-] + digit [0-9] +@@ -171,7 +172,7 @@ + while (input() != '*') + ; + if ((c = input()) == '/') +- return; ++ return FALSE; + unput(c); + } + } Added: head/graphics/rayshade/files/patch-libshade__yacc.y ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rayshade/files/patch-libshade__yacc.y Wed Dec 25 18:15:41 2013 (r337436) @@ -0,0 +1,11 @@ +--- libshade/yacc.y.orig ++++ libshade/yacc.y +@@ -13,6 +13,8 @@ + /* for any purpose. It is provided solely "as is". */ + /* $Id: yacc.y,v 4.0.1.4 92/01/10 16:29:55 cek Exp Locker: cek $ */ + %{ ++#include ++#include + #include "rayshade.h" + + #include "symtab.h"