svn commit: r314190 - in head/games/iceicepenguin: . files

Beech Rintoul beech at FreeBSD.org
Thu Mar 14 22:55:24 UTC 2013


Author: beech
Date: Thu Mar 14 22:55:23 2013
New Revision: 314190
URL: http://svnweb.freebsd.org/changeset/ports/314190

Log:
  - Add Desktop entries
  - Add icons
  - Add pkg-plist
  - Bump portrevision
  
  PR:		ports/173427
  Submitted by:	nemysis <nemysis at gmx.ch> (maintainer)

Added:
  head/games/iceicepenguin/pkg-plist   (contents, props changed)
Modified:
  head/games/iceicepenguin/Makefile   (contents, props changed)
  head/games/iceicepenguin/distinfo   (contents, props changed)
  head/games/iceicepenguin/files/iceicepenguin.in   (contents, props changed)

Modified: head/games/iceicepenguin/Makefile
==============================================================================
--- head/games/iceicepenguin/Makefile	Thu Mar 14 22:11:47 2013	(r314189)
+++ head/games/iceicepenguin/Makefile	Thu Mar 14 22:55:23 2013	(r314190)
@@ -1,13 +1,14 @@
+# Created by: nemysis <nemysis at gmx.ch>
 # $FreeBSD$
 
 PORTNAME=	iceicepenguin
 PORTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	games python
-MASTER_SITES=	SF/${PORTNAME}/Default/Ice%20Ice%20Penguin/  \
+MASTER_SITES=	SF/${PORTNAME}/Default/Ice%20Ice%20Penguin/ \
 		SF/nemysisfreebsdp/:icons
-DISTNAME=	iip.${DISTVERSION}-final
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
-		${PORTNAME}_icons.zip:icons
+DISTFILES=	iip.${DISTVERSION}-final${EXTRACT_SUFX} \
+		${PORTNAME}_icons${EXTRACT_SUFX}:icons
 DIST_SUBDIR=	python
 
 MAINTAINER=	nemysis at gmx.ch
@@ -19,47 +20,45 @@ RUN_DEPENDS=	${PYGAME}
 
 WRKSRC=		${WRKDIR}/"ice ice penguin"
 
-FETCH_ARGS?=	-Fpr
 USE_ZIP=	yes
 USE_PYTHON=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=	bin/${PORTNAME} \
-		share/pixmaps/${PORTNAME}_48.png \
-		share/pixmaps/${PORTNAME}_64.png \
-		share/pixmaps/${PORTNAME}_72.png \
-		share/pixmaps/${PORTNAME}_96.png
-
-PORTDATA=	*
 PORTDOCS=	CHANGELOG.txt readme.txt
 
+INSTALLS_ICONS=	yes
+ICON_SIZES=	32x32 48x48 64x64 72x72 96x96
+
 SUB_FILES=	${PORTNAME}
 
+DESKTOP_ENTRIES="Ice Ice Penguin" "${COMMENT}" \
+		"${PREFIX}/share/pixmaps/${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" false
+
 .include <bsd.port.options.mk>
 
 do-install:
-# Scripts
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
 
-# Executable
 	${MKDIR} ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
 
-# Data
 	${MKDIR} ${DATADIR}
 .for d in fonts gfx lvls menu sfx
 	@(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}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/games/iceicepenguin/distinfo
==============================================================================
--- head/games/iceicepenguin/distinfo	Thu Mar 14 22:11:47 2013	(r314189)
+++ head/games/iceicepenguin/distinfo	Thu Mar 14 22:55:23 2013	(r314190)
@@ -1,4 +1,4 @@
 SHA256 (python/iip.1.5.1-final.zip) = 6fde1fc6b432951ed73c0f75c769d4550e5b4a014783bf49aaef24e904b7910e
 SIZE (python/iip.1.5.1-final.zip) = 17948605
-SHA256 (python/iceicepenguin_icons.zip) = 623826fb3536d0837d5a076a9bb73fb6582986dd1234491be728e72f21ae46fc
-SIZE (python/iceicepenguin_icons.zip) = 29562
+SHA256 (python/iceicepenguin_icons.zip) = 219aa78dec602446931d08c0461c65f18fa37526667713e58601741179d7123f
+SIZE (python/iceicepenguin_icons.zip) = 50315

Modified: head/games/iceicepenguin/files/iceicepenguin.in
==============================================================================
--- head/games/iceicepenguin/files/iceicepenguin.in	Thu Mar 14 22:11:47 2013	(r314189)
+++ head/games/iceicepenguin/files/iceicepenguin.in	Thu Mar 14 22:55:23 2013	(r314190)
@@ -2,6 +2,6 @@
 #
 # $FreeBSD$
 #
-echo "Ice Ice Penguin: Starting up..."
+
 cd "%%DATADIR%%"
-exec /usr/bin/env python ./iceicepengui.py
+exec /usr/bin/env python ./iceicepengui.py "${@}"

Added: head/games/iceicepenguin/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/iceicepenguin/pkg-plist	Thu Mar 14 22:55:23 2013	(r314190)
@@ -0,0 +1,191 @@
+bin/iceicepenguin
+%%DATADIR%%/fonts/chubby.ttf
+%%DATADIR%%/fonts/readme.txt
+%%DATADIR%%/gfx/1024x600/background.jpg
+%%DATADIR%%/gfx/1024x600/bear/0/0.png
+%%DATADIR%%/gfx/1024x600/bear/0/1.png
+%%DATADIR%%/gfx/1024x600/bear/0/2.png
+%%DATADIR%%/gfx/1024x600/bear/0/3.png
+%%DATADIR%%/gfx/1024x600/bear/0/4.png
+%%DATADIR%%/gfx/1024x600/bear/0/5.png
+%%DATADIR%%/gfx/1024x600/bear/0/6.png
+%%DATADIR%%/gfx/1024x600/bear/0/7.png
+%%DATADIR%%/gfx/1024x600/bear/1/0.png
+%%DATADIR%%/gfx/1024x600/bear/1/1.png
+%%DATADIR%%/gfx/1024x600/bear/1/2.png
+%%DATADIR%%/gfx/1024x600/bear/1/3.png
+%%DATADIR%%/gfx/1024x600/bear/1/4.png
+%%DATADIR%%/gfx/1024x600/bear/1/5.png
+%%DATADIR%%/gfx/1024x600/bear/1/6.png
+%%DATADIR%%/gfx/1024x600/bear/1/7.png
+%%DATADIR%%/gfx/1024x600/bear/2/0.png
+%%DATADIR%%/gfx/1024x600/bear/2/1.png
+%%DATADIR%%/gfx/1024x600/bear/2/2.png
+%%DATADIR%%/gfx/1024x600/bear/2/3.png
+%%DATADIR%%/gfx/1024x600/bear/2/4.png
+%%DATADIR%%/gfx/1024x600/bear/2/5.png
+%%DATADIR%%/gfx/1024x600/bear/2/6.png
+%%DATADIR%%/gfx/1024x600/bear/2/7.png
+%%DATADIR%%/gfx/1024x600/bear/3/0.png
+%%DATADIR%%/gfx/1024x600/bear/3/1.png
+%%DATADIR%%/gfx/1024x600/bear/3/2.png
+%%DATADIR%%/gfx/1024x600/bear/3/3.png
+%%DATADIR%%/gfx/1024x600/bear/3/4.png
+%%DATADIR%%/gfx/1024x600/bear/3/5.png
+%%DATADIR%%/gfx/1024x600/bear/3/6.png
+%%DATADIR%%/gfx/1024x600/bear/3/7.png
+%%DATADIR%%/gfx/1024x600/cplcursor.png
+%%DATADIR%%/gfx/1024x600/fields/0.png
+%%DATADIR%%/gfx/1024x600/fields/1.png
+%%DATADIR%%/gfx/1024x600/fields/100.png
+%%DATADIR%%/gfx/1024x600/fields/101.png
+%%DATADIR%%/gfx/1024x600/fields/102.png
+%%DATADIR%%/gfx/1024x600/fields/1021.png
+%%DATADIR%%/gfx/1024x600/fields/1022.png
+%%DATADIR%%/gfx/1024x600/fields/1023.png
+%%DATADIR%%/gfx/1024x600/fields/1024.png
+%%DATADIR%%/gfx/1024x600/fields/103.png
+%%DATADIR%%/gfx/1024x600/fields/104.png
+%%DATADIR%%/gfx/1024x600/fields/2.png
+%%DATADIR%%/gfx/1024x600/fields/3.png
+%%DATADIR%%/gfx/1024x600/fields/4.png
+%%DATADIR%%/gfx/1024x600/fields/5.png
+%%DATADIR%%/gfx/1024x600/gametitle.png
+%%DATADIR%%/gfx/1024x600/id0.png
+%%DATADIR%%/gfx/1024x600/id1.png
+%%DATADIR%%/gfx/1024x600/id2.png
+%%DATADIR%%/gfx/1024x600/id3.png
+%%DATADIR%%/gfx/1024x600/lvlcursor0.png
+%%DATADIR%%/gfx/1024x600/lvlcursor1.png
+%%DATADIR%%/gfx/1024x600/lvlcursor2.png
+%%DATADIR%%/gfx/1024x600/lvlcursor3.png
+%%DATADIR%%/gfx/1024x600/mouse.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/0.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/1.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/2.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/3.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/4.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/5.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/6.png
+%%DATADIR%%/gfx/1024x600/specialtux/0/7.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/0.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/1.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/2.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/3.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/4.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/5.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/6.png
+%%DATADIR%%/gfx/1024x600/specialtux/1/7.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/0.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/1.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/2.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/3.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/4.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/5.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/6.png
+%%DATADIR%%/gfx/1024x600/specialtux/2/7.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/0.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/1.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/2.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/3.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/4.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/5.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/6.png
+%%DATADIR%%/gfx/1024x600/specialtux/3/7.png
+%%DATADIR%%/gfx/1024x600/timerbar.png
+%%DATADIR%%/gfx/1024x600/timergradient.png
+%%DATADIR%%/gfx/1024x600/title.jpg
+%%DATADIR%%/gfx/1024x600/tux/0/0.png
+%%DATADIR%%/gfx/1024x600/tux/0/1.png
+%%DATADIR%%/gfx/1024x600/tux/0/2.png
+%%DATADIR%%/gfx/1024x600/tux/0/3.png
+%%DATADIR%%/gfx/1024x600/tux/0/4.png
+%%DATADIR%%/gfx/1024x600/tux/0/5.png
+%%DATADIR%%/gfx/1024x600/tux/0/6.png
+%%DATADIR%%/gfx/1024x600/tux/0/7.png
+%%DATADIR%%/gfx/1024x600/tux/1/0.png
+%%DATADIR%%/gfx/1024x600/tux/1/1.png
+%%DATADIR%%/gfx/1024x600/tux/1/2.png
+%%DATADIR%%/gfx/1024x600/tux/1/3.png
+%%DATADIR%%/gfx/1024x600/tux/1/4.png
+%%DATADIR%%/gfx/1024x600/tux/1/5.png
+%%DATADIR%%/gfx/1024x600/tux/1/6.png
+%%DATADIR%%/gfx/1024x600/tux/1/7.png
+%%DATADIR%%/gfx/1024x600/tux/2/0.png
+%%DATADIR%%/gfx/1024x600/tux/2/1.png
+%%DATADIR%%/gfx/1024x600/tux/2/2.png
+%%DATADIR%%/gfx/1024x600/tux/2/3.png
+%%DATADIR%%/gfx/1024x600/tux/2/4.png
+%%DATADIR%%/gfx/1024x600/tux/2/5.png
+%%DATADIR%%/gfx/1024x600/tux/2/6.png
+%%DATADIR%%/gfx/1024x600/tux/2/7.png
+%%DATADIR%%/gfx/1024x600/tux/3/0.png
+%%DATADIR%%/gfx/1024x600/tux/3/1.png
+%%DATADIR%%/gfx/1024x600/tux/3/2.png
+%%DATADIR%%/gfx/1024x600/tux/3/3.png
+%%DATADIR%%/gfx/1024x600/tux/3/4.png
+%%DATADIR%%/gfx/1024x600/tux/3/5.png
+%%DATADIR%%/gfx/1024x600/tux/3/6.png
+%%DATADIR%%/gfx/1024x600/tux/3/7.png
+%%DATADIR%%/iceicepengui.py
+%%DATADIR%%/lvls/Aim For The Middle.iip
+%%DATADIR%%/lvls/Anyones Game.iip
+%%DATADIR%%/lvls/Big Roundabout.iip
+%%DATADIR%%/lvls/Side 5.iip
+%%DATADIR%%/menu/de/menu.py
+%%DATADIR%%/menu/en/menu.py
+%%DATADIR%%/menu/fr/menu.py
+%%DATADIR%%/sfx/alert1minute.ogg
+%%DATADIR%%/sfx/alerts.ogg
+%%DATADIR%%/sfx/ambient.ogg
+%%DATADIR%%/sfx/applause.ogg
+%%DATADIR%%/sfx/music/retrorific.ogg
+%%DATADIR%%/sfx/ping.ogg
+%%DATADIR%%/sfx/roar.ogg
+%%DATADIR%%/sfx/splash.ogg
+%%DATADIR%%/sfx/suddendeath.ogg
+share/icons/hicolor/32x32/apps/iceicepenguin.png
+share/icons/hicolor/48x48/apps/iceicepenguin.png
+share/icons/hicolor/64x64/apps/iceicepenguin.png
+share/icons/hicolor/72x72/apps/iceicepenguin.png
+share/icons/hicolor/96x96/apps/iceicepenguin.png
+share/pixmaps/iceicepenguin.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
+ at dirrmtry share/icons
+ at dirrm %%DATADIR%%/sfx/music
+ at dirrm %%DATADIR%%/sfx
+ at dirrm %%DATADIR%%/menu/fr
+ at dirrm %%DATADIR%%/menu/en
+ at dirrm %%DATADIR%%/menu/de
+ at dirrm %%DATADIR%%/menu
+ at dirrm %%DATADIR%%/lvls
+ at dirrm %%DATADIR%%/gfx/1024x600/tux/3
+ at dirrm %%DATADIR%%/gfx/1024x600/tux/2
+ at dirrm %%DATADIR%%/gfx/1024x600/tux/1
+ at dirrm %%DATADIR%%/gfx/1024x600/tux/0
+ at dirrm %%DATADIR%%/gfx/1024x600/tux
+ at dirrm %%DATADIR%%/gfx/1024x600/specialtux/3
+ at dirrm %%DATADIR%%/gfx/1024x600/specialtux/2
+ at dirrm %%DATADIR%%/gfx/1024x600/specialtux/1
+ at dirrm %%DATADIR%%/gfx/1024x600/specialtux/0
+ at dirrm %%DATADIR%%/gfx/1024x600/specialtux
+ at dirrm %%DATADIR%%/gfx/1024x600/fields
+ at dirrm %%DATADIR%%/gfx/1024x600/bear/3
+ at dirrm %%DATADIR%%/gfx/1024x600/bear/2
+ at dirrm %%DATADIR%%/gfx/1024x600/bear/1
+ at dirrm %%DATADIR%%/gfx/1024x600/bear/0
+ at dirrm %%DATADIR%%/gfx/1024x600/bear
+ at dirrm %%DATADIR%%/gfx/1024x600
+ at dirrm %%DATADIR%%/gfx
+ at dirrm %%DATADIR%%/fonts
+ at dirrm %%DATADIR%%


More information about the svn-ports-head mailing list