ports/173354: [MAINTAINER] games/barbie_seahorse_adventures: Makefile changed, added icons
nemysis
nemysis at gmx.ch
Sun Nov 4 06:20:01 UTC 2012
>Number: 173354
>Category: ports
>Synopsis: [MAINTAINER] games/barbie_seahorse_adventures: Makefile changed, added icons
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 04 06:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
Makefile changed:
+ ${PORTNAME}_icons.tar.gz:icons
PLIST_FILES=
+INSTALLS_ICONS= yes
+ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
+post-install:
+.for s in ${ICON_SIZES}
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- barbie_seahorse_adventures-1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/barbie_seahorse_adventures/Makefile ./Makefile
--- /usr/ports/games/barbie_seahorse_adventures/Makefile 2012-10-10 01:16:12.000000000 +0200
+++ ./Makefile 2012-11-04 07:14:34.000000000 +0100
@@ -9,9 +9,8 @@
MASTER_SITES= http://www.imitationpickles.org/barbie/files/ \
SF/nemysisfreebsdp/:icons
DISTFILES= barbie-${DISTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}.png:icons
+ ${PORTNAME}_icons.tar.gz:icons
DIST_SUBDIR= python
-EXTRACT_ONLY= barbie-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis at gmx.ch
COMMENT= You are a seahorse and you want to go to the moon!
@@ -26,11 +25,19 @@
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
- share/pixmaps/${PORTNAME}.png
+ share/pixmaps/${PORTNAME}.png \
+ share/icons/hicolor/32x32/apps/${PORTNAME}.png \
+ share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ share/icons/hicolor/64x64/apps/${PORTNAME}.png \
+ share/icons/hicolor/72x72/apps/${PORTNAME}.png \
+ share/icons/hicolor/96x96/apps/${PORTNAME}.png
PORTDATA= *
PORTDOCS= CHANGES.txt LEVELS.txt NOTES.txt README.txt TODO.txt
+INSTALLS_ICONS= yes
+ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
+
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Barbie Seahorse Adventures" "${COMMENT}" "${PORTNAME}" \
@@ -41,14 +48,21 @@
post-patch:
@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
${WRKSRC}/leveledit.py ${WRKSRC}/tileedit.py
- @(cd ${WRKSRC} && ${RM} *.py.bak)
+ @${FIND} ${WRKSRC} -name "*.bak" -delete
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data lib" ${DATADIR})
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${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
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/games/barbie_seahorse_adventures/distinfo ./distinfo
--- /usr/ports/games/barbie_seahorse_adventures/distinfo 2012-10-10 01:16:12.000000000 +0200
+++ ./distinfo 2012-11-04 07:13:09.000000000 +0100
@@ -1,4 +1,4 @@
SHA256 (python/barbie-1.0.tar.gz) = 8a5312545e51b94a28194679b2a8b8a7558ac105b706fe07ccabab6d47537861
SIZE (python/barbie-1.0.tar.gz) = 2172446
-SHA256 (python/barbie_seahorse_adventures.png) = 98b6052da805e533b38ed4b47116b208d8c253ec5cf2bd630a87d311a35488c1
-SIZE (python/barbie_seahorse_adventures.png) = 519
+SHA256 (python/barbie_seahorse_adventures_icons.tar.gz) = fa19defbd017b8b80f672327faa69ce694f56760b9478cb32f365804a57bd280
+SIZE (python/barbie_seahorse_adventures_icons.tar.gz) = 16896
diff -ruN --exclude=CVS /usr/ports/games/barbie_seahorse_adventures/files/barbie_seahorse_adventures.in ./files/barbie_seahorse_adventures.in
--- /usr/ports/games/barbie_seahorse_adventures/files/barbie_seahorse_adventures.in 2012-10-10 01:16:12.000000000 +0200
+++ ./files/barbie_seahorse_adventures.in 2012-10-22 22:54:21.000000000 +0200
@@ -3,4 +3,4 @@
# $FreeBSD: ports/games/barbie_seahorse_adventures/files/barbie_seahorse_adventures.in,v 1.1 2012/10/09 23:16:12 jgh Exp $
cd "%%DATADIR%%"
-exec ./run_game.py "${@}"
+exec /usr/bin/env python ./run_game.py "${@}"
--- barbie_seahorse_adventures-1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list