FreeBSD Bugzilla – Attachment 129347 Details for
Bug 173345
[MAINTAINER] games/nelly: Changed Makefile, nelly.in, Desktop entries, Removed all Notes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nelly-1.0_1.patch
nelly-1.0_1.patch (text/plain), 2.02 KB, created by
nemysis
on 2012-11-04 02:40:00 UTC
(
hide
)
Description:
nelly-1.0_1.patch
Filename:
MIME Type:
Creator:
nemysis
Created:
2012-11-04 02:40:00 UTC
Size:
2.02 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/games/nelly/Makefile ./Makefile >--- /usr/ports/games/nelly/Makefile 2012-09-15 01:39:13.000000000 +0200 >+++ ./Makefile 2012-11-04 03:12:19.000000000 +0100 >@@ -17,6 +17,7 @@ > > RUN_DEPENDS= ${PYGAME} \ > ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl >+EXTRACT_DEPENDS= pamscale:${PORTSDIR}/graphics/netpbm > > USE_PYTHON_RUN= yes > NO_BUILD= yes >@@ -29,33 +30,35 @@ > > SUB_FILES= ${PORTNAME} > >+DESKTOP_ENTRIES="Nelly's Rooftop Garden" "${COMMENT}" "${PORTNAME}" \ >+ "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} >+ > .include <bsd.port.options.mk> > > post-patch: >- @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ >+ @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \ > ${WRKSRC}/*.py >- @(cd ${WRKSRC} && ${RM} *.py.bak) >+ @${FIND} ${WRKSRC} -name "*.bak" -delete >+ >+post-extract: >+ @(cd ${WRKSRC} && \ >+ ${LOCALBASE}/bin/pngtopnm ./textures/menu.png | \ >+ ${LOCALBASE}/bin/pamscale .08 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png) > > do-install: >-# Scripts > ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin >- >-# Executable > ${MKDIR} ${DATADIR} > ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} > >-# Data >-. for d in fonts levels textures >+.for d in fonts levels textures > @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) >-. endfor >+.endfor > >-# Pixmaps >- ${INSTALL_DATA} ${WRKSRC}/textures/menu.png ${PREFIX}/share/pixmaps/${PORTNAME}.png >+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps > >-# Documentation > .if ${PORT_OPTIONS:MDOCS} > ${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} >+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} > .endif > > .include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/games/nelly/files/nelly.in ./files/nelly.in >--- /usr/ports/games/nelly/files/nelly.in 2012-08-10 05:20:10.000000000 +0200 >+++ ./files/nelly.in 2012-11-04 03:21:33.000000000 +0100 >@@ -1,5 +1,7 @@ > #!/bin/sh > # >-echo "Nelly's Rooftop Garden: Starting up..." >+# $FreeBSD$ >+# >+ > cd "%%DATADIR%%" >-./nelly.py >+exec /usr/bin/env python ./nelly.py
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 173345
: 129347 |
129348
|
129349
|
129350
|
129351