games/iceicepenguin: Fix fetching due to frequent rerolls

The maintainer has proposed the following changes:
  1) Unique name for iceicepenguins_icons
  2) Trimmed desktop entry
  3) Updated the pkg-plist
  4) general cleanup

PR:		ports/178501
Submitted by:	marino
Approved by:	bapt (mentor)
This commit is contained in:
John Marino 2013-07-22 11:35:56 +00:00
parent ea7812cfe0
commit 7aca43edc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323439
3 changed files with 9 additions and 25 deletions

View file

@ -3,12 +3,12 @@
PORTNAME= iceicepenguin
PORTVERSION= 1.5.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games python
MASTER_SITES= SF/${PORTNAME}/Default/Ice%20Ice%20Penguin/ \
SF/nemysisfreebsdp/:icons
DISTFILES= iip.${DISTVERSION}-final${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
${PORTNAME}_icons_1${EXTRACT_SUFX}:icons
DIST_SUBDIR= python
MAINTAINER= nemysis@gmx.ch
@ -31,22 +31,18 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Ice Ice Penguin" "${COMMENT}" \
"${PREFIX}/share/pixmaps/${PORTNAME}" \
DESKTOP_ENTRIES="Ice Ice Penguin" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" false
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
${MKDIR} ${DATADIR}
.for d in fonts gfx lvls menu sfx
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
post-install:
.for s in ${ICON_SIZES}
@ -54,10 +50,10 @@ post-install:
${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/
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

View file

@ -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) = 219aa78dec602446931d08c0461c65f18fa37526667713e58601741179d7123f
SIZE (python/iceicepenguin_icons.zip) = 50315
SHA256 (python/iceicepenguin_icons_1.zip) = 219aa78dec602446931d08c0461c65f18fa37526667713e58601741179d7123f
SIZE (python/iceicepenguin_icons_1.zip) = 50315

View file

@ -150,18 +150,6 @@ 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