Date: Sun, 04 Nov 2012 06:06:26 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jgh@FreeBSD.org Subject: ports/173349: [MAINTAINER] games/asteroids3d: Changed Makefile, added Desktop entries, icons, removed all Notes Message-ID: <20121104050630.4D59052B@hub.freebsd.org> Resent-Message-ID: <201211040510.qA45A1a6055889@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173349 >Category: ports >Synopsis: [MAINTAINER] games/asteroids3d: Changed Makefile, added Desktop entries, icons, removed all Notes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 04 05:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: Makefile changed: + SF/nemysisfreebsdp/:icons + ${PORTNAME}_icons.tar.bz2:icons PLIST_FILES= +INSTALLS_ICONS= yes +ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 +DESKTOP_ENTRIES= +post-install: +.for s in ${ICON_SIZES} Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: portlint -A looks fine. port test: clean >Fix: --- asteroids3d-0.5.1_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/games/asteroids3d/Makefile ./Makefile --- /usr/ports/games/asteroids3d/Makefile 2012-08-21 10:45:50.000000000 +0200 +++ ./Makefile 2012-11-04 05:59:48.000000000 +0100 @@ -7,13 +7,13 @@ PORTNAME= asteroids3d PORTVERSION= 0.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/a3d/${PORTVERSION}/ \ - LOCAL/madpilot/asteroids3d/:icons + SF/nemysisfreebsdp/:icons DISTNAME= ${PORTNAME:S/3d/3D/}-${DISTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - asteroids3d_icons.tbz:icons + ${PORTNAME}_icons.tar.bz2:icons MAINTAINER= nemysis@gmx.ch COMMENT= First-person shooter blowing up asteroids in 3D space @@ -33,12 +33,23 @@ LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}_128.png \ - share/pixmaps/${PORTNAME}_48.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 \ + share/icons/hicolor/128x128/apps/${PORTNAME}.png PORTDATA= * PORTDOCS= README.html +INSTALLS_ICONS= yes +ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 + +DESKTOP_ENTRIES="Asteroids3D" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + pre-configure: @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) @@ -50,17 +61,20 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${PREFIX}/bin/${PORTNAME} -# Data ${MKDIR} ${DATADIR} @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" ${DATADIR}) -# 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.html ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/games/asteroids3d/distinfo ./distinfo --- /usr/ports/games/asteroids3d/distinfo 2012-07-18 13:27:01.000000000 +0200 +++ ./distinfo 2012-11-04 05:51:07.000000000 +0100 @@ -1,4 +1,4 @@ SHA256 (asteroids3D-0.5.1.tar.bz2) = 68a07541198591c7a010324d870d120932c2dc015981f9197fe2268964a45087 SIZE (asteroids3D-0.5.1.tar.bz2) = 584201 -SHA256 (asteroids3d_icons.tbz) = e8ed4bd8119e19b6cb423cd00c9b305490edd0e30600c227786f8cbd5bd442a9 -SIZE (asteroids3d_icons.tbz) = 4023 +SHA256 (asteroids3d_icons.tar.bz2) = 8c8b3aad1ea2287bbc1dada7eea027e00c6c0e324b4ba4e8748b8ed702c7f50e +SIZE (asteroids3d_icons.tar.bz2) = 26442 --- asteroids3d-0.5.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121104050630.4D59052B>