- Add Desktop entries
- Add icons - Add pkg-plist - Bump portrevision PR: ports/173427 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
This commit is contained in:
parent
8d9524b3b8
commit
28ee7de003
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314190
4 changed files with 216 additions and 26 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 "${@}"
|
||||
|
|
191
games/iceicepenguin/pkg-plist
Normal file
191
games/iceicepenguin/pkg-plist
Normal file
|
@ -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%%
|
Loading…
Reference in a new issue