From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 14 03:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 75D62349 for ; Thu, 14 Mar 2013 03:30:01 +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 58895F12 for ; Thu, 14 Mar 2013 03:30:01 +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 r2E3U1n9034737 for ; Thu, 14 Mar 2013 03:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2E3U1ax034736; Thu, 14 Mar 2013 03:30:01 GMT (envelope-from gnats) Date: Thu, 14 Mar 2013 03:30:01 GMT Message-Id: <201303140330.r2E3U1ax034736@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: nemysis Subject: Re: ports/174951: [PATCH] games/vamos: added OptionsNG, icon, desktop entry, documentation, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nemysis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 03:30:01 -0000 The following reply was made to PR ports/174951; it has been noted by GNATS. From: nemysis To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/174951: [PATCH] games/vamos: added OptionsNG, icon, desktop entry, documentation, take maintainership Date: Thu, 14 Mar 2013 04:20:32 +0100 --MP_/yd.aC7s4m=CfH_QoVg0kTP9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Makefile Header adjusted Port is now safe with NOPORTDOCS=yes in /etc/make.conf +OPTIONS_DEFINE= DOCS +.if ${PORT_OPTIONS:MDOCS} +PLIST_SUB+= PORTDOCS="" +.else +PLIST_SUB+= PORTDOCS="@comment " +.endif Changed and refined: pkg-plist --MP_/yd.aC7s4m=CfH_QoVg0kTP9 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=vamos.diff ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/games/vamos/Makefile ./Makefile --- /usr/ports/games/vamos/Makefile 2013-01-14 17:55:26.000000000 +0100 +++ ./Makefile 2013-03-14 04:07:59.000000000 +0100 @@ -1,21 +1,21 @@ -# Ports collection makefile for: vamos -# Date created: Mar 15, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD: head/games/vamos/Makefile 302037 2012-08-04 22:52:02Z kwm $ -# PORTNAME= vamos PORTVERSION= 0.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= SF +MASTER_SITES= SF \ + http://${PORTNAME}.sourceforge.net/images/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + logo.png:icons +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org -COMMENT= An automotive simulation framework +MAINTAINER= nemysis@gmx.ch +COMMENT= Automotive simulation framework LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= png15:${PORTSDIR}/graphics/png @@ -23,18 +23,36 @@ USE_XORG= sm ice x11 xi xext xmu USE_GL= glut USE_SDL= sdl -USE_GMAKE= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= ac_cv_header_boost_test_unit_test_hpp=no \ ac_cv_lib_freeglut_glutGetModifiers=no USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes +# Wrong versioning upstream +PORTSCOUT= skipv:0.7.1 + INFO= vamos +PORTDOCS= AUTHORS ChangeLog README TODO + CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +DESKTOP_ENTRIES="Vamos" "${COMMENT}" \ + share/pixmaps/${PORTNAME}.png \ + "${PORTNAME}" "Game;ArcadeGame;" false + +OPTIONS_DEFINE= DOCS + +.include + +.if ${PORT_OPTIONS:MDOCS} +PLIST_SUB+= PORTDOCS="" +.else +PLIST_SUB+= PORTDOCS="@comment " +.endif + post-extract: @${CHMOD} ${BINMODE} ${WRKSRC}/config/install-sh @@ -46,4 +64,12 @@ /^AM_CXXFLAGS/s| -DBOOST_TEST_DYN_LINK|| ; \ /^AM_CXXFLAGS/s| -L/usr/lib/boost||' +post-install: + ${INSTALL_DATA} ${_DISTDIR}/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + .include diff -ruN --exclude=CVS /usr/ports/games/vamos/distinfo ./distinfo --- /usr/ports/games/vamos/distinfo 2013-01-14 17:55:26.000000000 +0100 +++ ./distinfo 2013-03-14 04:08:33.000000000 +0100 @@ -1,2 +1,4 @@ -SHA256 (vamos-0.7.0.tar.gz) = ee4d6bf92c1769ed1cf47cb000316df02815dc866f91e22450d1a008f65d6af9 -SIZE (vamos-0.7.0.tar.gz) = 1648589 +SHA256 (vamos/vamos-0.7.0.tar.gz) = ee4d6bf92c1769ed1cf47cb000316df02815dc866f91e22450d1a008f65d6af9 +SIZE (vamos/vamos-0.7.0.tar.gz) = 1648589 +SHA256 (vamos/logo.png) = 35de29102eb60ad619192137ec0e2b0139968c6dd0c4b634e17b61fc2d68e060 +SIZE (vamos/logo.png) = 2560 diff -ruN --exclude=CVS /usr/ports/games/vamos/pkg-descr ./pkg-descr --- /usr/ports/games/vamos/pkg-descr 2013-01-14 17:55:26.000000000 +0100 +++ ./pkg-descr 2013-01-03 13:09:38.000000000 +0100 @@ -1,5 +1,5 @@ Vamos is an automotive simulation framework with an emphasis on thorough -physical modeling and good C++ design. Vamos includes a real-time, first- -person, 3D driving application. +physical modeling and good C++ design. Vamos includes a real-time, +first-person, 3D driving application. WWW: http://vamos.sourceforge.net/ diff -ruN --exclude=CVS /usr/ports/games/vamos/pkg-plist ./pkg-plist --- /usr/ports/games/vamos/pkg-plist 2013-01-14 17:55:26.000000000 +0100 +++ ./pkg-plist 2013-03-14 04:12:19.000000000 +0100 @@ -70,6 +70,11 @@ lib/libvamos-world.la lib/libvamos-world.so lib/libvamos-world.so.0 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +share/pixmaps/vamos.png %%DATADIR%%/cars/F1-1967-arm.ac %%DATADIR%%/cars/F1-1967-interior.ac %%DATADIR%%/cars/F1-1967-stator.ac @@ -199,6 +204,7 @@ @dirrm %%DATADIR%%/controls @dirrm %%DATADIR%%/cars @dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/vamos/world @dirrm include/vamos/track @dirrm include/vamos/media ===> Done --MP_/yd.aC7s4m=CfH_QoVg0kTP9--