Date: Tue, 12 Mar 2013 22:46:55 +0000 (UTC) From: Beech Rintoul <beech@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314005 - head/games/BillardGL Message-ID: <201303122246.r2CMktfM062504@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: beech Date: Tue Mar 12 22:46:55 2013 New Revision: 314005 URL: http://svnweb.freebsd.org/changeset/ports/314005 Log: - Makefile tweaks - Add Desktop entries, icons, removed all Notes - Shorten header - Bump portrevision PR: ports/173347 Submitted by: nemysis <nemysis@gmx.ch> Modified: head/games/BillardGL/Makefile head/games/BillardGL/distinfo (contents, props changed) Modified: head/games/BillardGL/Makefile ============================================================================== --- head/games/BillardGL/Makefile Tue Mar 12 22:15:57 2013 (r314004) +++ head/games/BillardGL/Makefile Tue Mar 12 22:46:55 2013 (r314005) @@ -1,18 +1,14 @@ -# New ports collection makefile for: BillardGL -# Date created: 02 Jan 2004 -# Whom: Igor Pokrovsky <tiamat@comset.net> -# +# Created By: Igor Pokrovsky <tiamat@comset.net> # $FreeBSD$ -# PORTNAME= BillardGL PORTVERSION= 1.75 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games -MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}%20${PORTVERSION}/ \ +MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}%20${PORTVERSION}/:game \ SF/nemysisfreebsdp/:icons -DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}-LP-010.zip \ +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:game \ + ${PORTNAME}-LP-010.zip:game \ ${PORTNAME}_icons.tar.gz:icons DIST_SUBDIR= ${PORTNAME:L} @@ -31,14 +27,22 @@ USE_XORG= xmu xext x11 xi USE_GL= glut PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}_48.png \ - share/pixmaps/${PORTNAME}_64.png \ - share/pixmaps/${PORTNAME}_72.png \ - share/pixmaps/${PORTNAME}_96.png + share/pixmaps/${PORTNAME}.png \ + share/icons/hicolor/32x32/apps/${PORTNAME}.png \ + share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + share/icons/hicolor/64x64/apps/${PORTNAME}.png \ + share/icons/hicolor/72x72/apps/${PORTNAME}.png \ + share/icons/hicolor/96x96/apps/${PORTNAME}.png PORTDATA= * PORTDOCS= README +INSTALLS_ICONS= yes +ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 + +DESKTOP_ENTRIES="BillardGL" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + OPTIONS_DEFINE= LANG LANG_DESC= Install additional Language OPTIONS_DEFAULT= LANG @@ -46,31 +50,30 @@ OPTIONS_DEFAULT= LANG .include <bsd.port.options.mk> post-patch: -# Fix data location @${REINPLACE_CMD} -e 's|/usr/share/BillardGL/|${DATADIR}/|' ${WRKSRC}/Namen.h do-install: -# Executable ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -# Data -# ${MKDIR} ${DATADIR} .for d in Texturen lang @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) .endfor -# Pixmaps - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps +post-install: +.for s in ${ICON_SIZES} + ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ + ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png +.endfor + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps -# Documentation .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif -# Additional Language .if ${PORT_OPTIONS:MLANG} - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-LP-010/*.lang ${DATADIR}/lang/ + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-LP-010/*.lang ${DATADIR}/lang .endif .include <bsd.port.mk> Modified: head/games/BillardGL/distinfo ============================================================================== --- head/games/BillardGL/distinfo Tue Mar 12 22:15:57 2013 (r314004) +++ head/games/BillardGL/distinfo Tue Mar 12 22:46:55 2013 (r314005) @@ -2,5 +2,5 @@ SHA256 (billardgl/BillardGL-1.75.tar.gz) SIZE (billardgl/BillardGL-1.75.tar.gz) = 736295 SHA256 (billardgl/BillardGL-LP-010.zip) = a1325a0ed9b0dc3e2cbf8acebe4f7c4caf4183547b777b7543ad61e1e6e07cf6 SIZE (billardgl/BillardGL-LP-010.zip) = 232940 -SHA256 (billardgl/BillardGL_icons.tar.gz) = f4d5812c32f57f81e610962b68941d79ff4469f25ed21bc0ff5a50b1c3c5b446 -SIZE (billardgl/BillardGL_icons.tar.gz) = 25088 +SHA256 (billardgl/BillardGL_icons.tar.gz) = bce61c00306d18b40216e99df1a782ffe1c93bd70ccba3f55ee9e8c4b970b6c4 +SIZE (billardgl/BillardGL_icons.tar.gz) = 38400
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303122246.r2CMktfM062504>