From owner-svn-ports-all@FreeBSD.ORG Tue Oct 9 19:50:57 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C96AC7A5; Tue, 9 Oct 2012 19:50:57 +0000 (UTC) (envelope-from ak@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B2B938FC19; Tue, 9 Oct 2012 19:50:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q99Jovub065698; Tue, 9 Oct 2012 19:50:57 GMT (envelope-from ak@svn.freebsd.org) Received: (from ak@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q99Jov0t065695; Tue, 9 Oct 2012 19:50:57 GMT (envelope-from ak@svn.freebsd.org) Message-Id: <201210091950.q99Jov0t065695@svn.freebsd.org> From: Alex Kozlov Date: Tue, 9 Oct 2012 19:50:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305600 - head/games/3dpong X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 19:50:57 -0000 Author: ak Date: Tue Oct 9 19:50:57 2012 New Revision: 305600 URL: http://svn.freebsd.org/changeset/ports/305600 Log: - Convert Makefile headers to new style - Remove redundant comments - Add DESKTOP_ENTRIES - Bump PORTREVISION Submitted by: nemysis (maintainer) Modified: head/games/3dpong/Makefile head/games/3dpong/distinfo (contents, props changed) Modified: head/games/3dpong/Makefile ============================================================================== --- head/games/3dpong/Makefile Tue Oct 9 18:33:17 2012 (r305599) +++ head/games/3dpong/Makefile Tue Oct 9 19:50:57 2012 (r305600) @@ -1,19 +1,15 @@ -# New ports collection makefile for: 3dpong -# Date created: 10 March 1998 -# Whom: Andrey Zakhvatov -# # $FreeBSD$ -# PORTNAME= 3dpong PORTVERSION= 0.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/3dpong/src/ \ ftp://ftp.billsgames.com/unix/x/3dpong/src/ \ http://www.newbreedsoftware.com/images/prodicons/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.gif:icons +DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= nemysis@gmx.ch @@ -21,6 +17,8 @@ COMMENT= X Window 3D Pong game for 1 or LICENSE= GPLv2 +BUILD_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm + USE_XORG= x11 USE_GMAKE= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ @@ -29,7 +27,7 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} MAN6= ${PORTNAME}.6 PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.gif \ + share/pixmaps/${PORTNAME}.png \ share/examples/${PORTNAME}/${PORTNAME}-handball.sh \ share/examples/${PORTNAME}/${PORTNAME}-vs-computer.sh PLIST_DIRS= share/examples/${PORTNAME} @@ -37,32 +35,32 @@ PLIST_DIRS= share/examples/${PORTNAME} PORTDATA= * PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt +DESKTOP_ENTRIES="3D Pong" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + .include post-patch: @${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c +post-build: + @(cd ${WRKSRC} && \ + ${LOCALBASE}/bin/giftopnm ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.gif | \ + ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png) + do-install: -# Executable ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -# Data ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR} ${INSTALL_MAN} ${WRKSRC}/src/${MAN6} ${MAN6PREFIX}/man/man6 + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps -# Pixmaps - ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.gif ${PREFIX}/share/pixmaps/ - -# Documentation .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} .endif -# Examples @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .include Modified: head/games/3dpong/distinfo ============================================================================== --- head/games/3dpong/distinfo Tue Oct 9 18:33:17 2012 (r305599) +++ head/games/3dpong/distinfo Tue Oct 9 19:50:57 2012 (r305600) @@ -1,4 +1,4 @@ -SHA256 (3dpong-0.5.tar.gz) = b1557818319f482c1e0795192f013ecf998c9f1013033b542676d1bf743a6bc5 -SIZE (3dpong-0.5.tar.gz) = 37004 -SHA256 (3dpong.gif) = 52524304fd79bb31740ac59a6ce249cc8461112adca0e4f3ab57ff4ab5623a1f -SIZE (3dpong.gif) = 321 +SHA256 (3dpong/3dpong-0.5.tar.gz) = b1557818319f482c1e0795192f013ecf998c9f1013033b542676d1bf743a6bc5 +SIZE (3dpong/3dpong-0.5.tar.gz) = 37004 +SHA256 (3dpong/3dpong.gif) = 52524304fd79bb31740ac59a6ce249cc8461112adca0e4f3ab57ff4ab5623a1f +SIZE (3dpong/3dpong.gif) = 321