diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2013-03-14 22:55:23 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2013-03-14 22:55:23 +0000 |
commit | 28ee7de003e4b4e112de7669dea76e2cd679e200 (patch) | |
tree | 5dc619504a5d6d2930159250b010ee4229eefc0d /games/iceicepenguin | |
parent | 8d9524b3b8ff9e93792e89179edb75bce2733b39 (diff) |
- Add Desktop entries
- Add icons
- Add pkg-plist
- Bump portrevision
PR: ports/173427
Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Notes
Notes:
svn path=/head/; revision=314190
Diffstat (limited to 'games/iceicepenguin')
-rw-r--r-- | games/iceicepenguin/Makefile | 43 | ||||
-rw-r--r-- | games/iceicepenguin/distinfo | 4 | ||||
-rw-r--r-- | games/iceicepenguin/files/iceicepenguin.in | 4 | ||||
-rw-r--r-- | games/iceicepenguin/pkg-plist | 191 |
4 files changed, 216 insertions, 26 deletions
diff --git a/games/iceicepenguin/Makefile b/games/iceicepenguin/Makefile index c5345900b26c..93f7866d22c7 100644 --- a/games/iceicepenguin/Makefile +++ b/games/iceicepenguin/Makefile @@ -1,13 +1,14 @@ +# Created by: nemysis <nemysis@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@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> diff --git a/games/iceicepenguin/distinfo b/games/iceicepenguin/distinfo index 2ab54bf285be..d4a9482f7bd0 100644 --- a/games/iceicepenguin/distinfo +++ b/games/iceicepenguin/distinfo @@ -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 diff --git a/games/iceicepenguin/files/iceicepenguin.in b/games/iceicepenguin/files/iceicepenguin.in index bb0381979be3..98607a1d443c 100644 --- a/games/iceicepenguin/files/iceicepenguin.in +++ b/games/iceicepenguin/files/iceicepenguin.in @@ -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 "${@}" diff --git a/games/iceicepenguin/pkg-plist b/games/iceicepenguin/pkg-plist new file mode 100644 index 000000000000..afa4469dbf4d --- /dev/null +++ b/games/iceicepenguin/pkg-plist @@ -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 +@dirrmtry share/icons/hicolor/96x96/apps +@dirrmtry share/icons/hicolor/96x96 +@dirrmtry share/icons/hicolor/72x72/apps +@dirrmtry share/icons/hicolor/72x72 +@dirrmtry share/icons/hicolor/64x64/apps +@dirrmtry share/icons/hicolor/64x64 +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrm %%DATADIR%%/sfx/music +@dirrm %%DATADIR%%/sfx +@dirrm %%DATADIR%%/menu/fr +@dirrm %%DATADIR%%/menu/en +@dirrm %%DATADIR%%/menu/de +@dirrm %%DATADIR%%/menu +@dirrm %%DATADIR%%/lvls +@dirrm %%DATADIR%%/gfx/1024x600/tux/3 +@dirrm %%DATADIR%%/gfx/1024x600/tux/2 +@dirrm %%DATADIR%%/gfx/1024x600/tux/1 +@dirrm %%DATADIR%%/gfx/1024x600/tux/0 +@dirrm %%DATADIR%%/gfx/1024x600/tux +@dirrm %%DATADIR%%/gfx/1024x600/specialtux/3 +@dirrm %%DATADIR%%/gfx/1024x600/specialtux/2 +@dirrm %%DATADIR%%/gfx/1024x600/specialtux/1 +@dirrm %%DATADIR%%/gfx/1024x600/specialtux/0 +@dirrm %%DATADIR%%/gfx/1024x600/specialtux +@dirrm %%DATADIR%%/gfx/1024x600/fields +@dirrm %%DATADIR%%/gfx/1024x600/bear/3 +@dirrm %%DATADIR%%/gfx/1024x600/bear/2 +@dirrm %%DATADIR%%/gfx/1024x600/bear/1 +@dirrm %%DATADIR%%/gfx/1024x600/bear/0 +@dirrm %%DATADIR%%/gfx/1024x600/bear +@dirrm %%DATADIR%%/gfx/1024x600 +@dirrm %%DATADIR%%/gfx +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%% |