ports/173349: [MAINTAINER] games/asteroids3d: Changed Makefile, added Desktop entries, icons, removed all Notes
nemysis
nemysis at gmx.ch
Sat Nov 10 20:10:01 UTC 2012
The following reply was made to PR ports/173349; it has been noted by GNATS.
From: nemysis <nemysis at gmx.ch>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/173349: [MAINTAINER] games/asteroids3d: Changed Makefile,
added Desktop entries, icons, removed all Notes
Date: Sat, 10 Nov 2012 21:09:11 +0100
--MP_/mXmNG9Iai3LbG0g1oD2kQ6P
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Added pkg-plist
--MP_/mXmNG9Iai3LbG0g1oD2kQ6P
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=asteroids3d.diff
===> Generating patch
===> Viewing diff with more
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-10 21:06:26.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 at gmx.ch
COMMENT= First-person shooter blowing up asteroids in 3D space
@@ -32,13 +32,14 @@
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PLIST_FILES= bin/${PORTNAME} \
- share/pixmaps/${PORTNAME}_128.png \
- share/pixmaps/${PORTNAME}_48.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 +51,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-10 21:01:32.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
diff -ruN --exclude=CVS /usr/ports/games/asteroids3d/pkg-plist ./pkg-plist
--- /usr/ports/games/asteroids3d/pkg-plist 1970-01-01 01:00:00.000000000 +0100
+++ ./pkg-plist 2012-11-10 21:05:23.000000000 +0100
@@ -0,0 +1,43 @@
+bin/asteroids3d
+%%DATADIR%%/ast_snd0.ub
+%%DATADIR%%/ast_snd1.ub
+%%DATADIR%%/ast_snd2.ub
+%%DATADIR%%/ast_snd3.ub
+%%DATADIR%%/ast_snd4.ub
+%%DATADIR%%/ast_snd5.ub
+%%DATADIR%%/ast_tex0.ppm
+%%DATADIR%%/ast_tex1.ppm
+%%DATADIR%%/ast_tex2.ppm
+%%DATADIR%%/ast_tex3.ppm
+%%DATADIR%%/ast_tex4.ppm
+%%DATADIR%%/ast_tex5.ppm
+%%DATADIR%%/coll_snd.ub
+%%DATADIR%%/nebula_tex0.ppm
+%%DATADIR%%/nebula_tex1.ppm
+%%DATADIR%%/nebula_tex2.ppm
+%%DATADIR%%/nebula_tex3.ppm
+%%DATADIR%%/ta_snd.ub
+%%DATADIR%%/tf_snd.ub
+%%DATADIR%%/torp_tex0.ppm
+share/icons/hicolor/128x128/apps/asteroids3d.png
+share/icons/hicolor/32x32/apps/asteroids3d.png
+share/icons/hicolor/48x48/apps/asteroids3d.png
+share/icons/hicolor/64x64/apps/asteroids3d.png
+share/icons/hicolor/72x72/apps/asteroids3d.png
+share/icons/hicolor/96x96/apps/asteroids3d.png
+share/pixmaps/asteroids3d.png
+ at dirrmtry share/icons/hicolor/96x96/apps
+ at dirrmtry share/icons/hicolor/96x96
+ at dirrmtry share/icons/hicolor/72x72/apps
+ at dirrmtry share/icons/hicolor/72x72
+ at dirrmtry share/icons/hicolor/64x64/apps
+ at dirrmtry share/icons/hicolor/64x64
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor/32x32/apps
+ at dirrmtry share/icons/hicolor/32x32
+ at dirrmtry share/icons/hicolor/128x128/apps
+ at dirrmtry share/icons/hicolor/128x128
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
+ at dirrm %%DATADIR%%
===> Done
--MP_/mXmNG9Iai3LbG0g1oD2kQ6P--
More information about the freebsd-ports-bugs
mailing list