FreeBSD Bugzilla – Attachment 124342 Details for
Bug 167855
[NEW PORT] games/smashbattle: Smash Battle is an 8-bit style platform game
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
smashbattle.diff
smashbattle.diff (text/x-patch), 2.15 KB, created by
nemysis
on 2012-08-18 23:14:11 UTC
(
hide
)
Description:
smashbattle.diff
Filename:
MIME Type:
Creator:
nemysis
Created:
2012-08-18 23:14:11 UTC
Size:
2.15 KB
patch
obsolete
>diff -ruN smashbattle.orig/Makefile smashbattle/Makefile >--- smashbattle.orig/Makefile 2012-08-18 23:52:46.000000000 +0200 >+++ smashbattle/Makefile 2012-08-18 23:56:51.000000000 +0200 >@@ -9,7 +9,7 @@ > PORTVERSION= 110224 > CATEGORIES= games > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/beta-${PORTVERSION} >-DISTNAME= ${PORTNAME}-${PORTVERSION}-src >+DISTNAME= ${PORTNAME}-${DISTVERSION}-src > > MAINTAINER= nemysis@gmx.ch > COMMENT= Smash Battle is an 8-bit style platform game >@@ -24,35 +24,37 @@ > USE_SDL= sdl image mixer > MAKE_JOBS_SAFE= yes > >-CFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib >- > pre-extract: > @${MKDIR} ${WRKDIR}/${DISTNAME} > >-PLIST_FILES= bin/smashbattle \ >- share/applications/${PORTNAME}.desktop \ >- share/applications/${PORTNAME}fs.desktop \ >- share/pixmaps/${PORTNAME}.png >+PLIST_FILES= bin/${PORTNAME} \ >+ share/applications/${PORTNAME}.desktop \ >+ share/applications/${PORTNAME}fs.desktop \ >+ share/pixmaps/${PORTNAME}.png > PLIST_DIRSTRY= share/applications > > PORTDATA= * > >+SUB_FILES= ${PORTNAME} >+ >+.include <bsd.port.options.mk> >+ > post-patch: > @${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PREFIX}/share/pixmaps/${PORTNAME}.png|' \ > ${WRKSRC}/linux/${PORTNAME}.desktop ${WRKSRC}/linux/${PORTNAME}fs.desktop > > do-install: > # Scripts >- @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ >- ./${PORTNAME} \"$$\@\"\n" > ${WRKDIR}/${PORTNAME}.sh >- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} >+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin >+ > # Executable > ${MKDIR} ${DATADIR} > ${INSTALL_PROGRAM} ${WRKSRC}/battle ${DATADIR}/${PORTNAME} > > # Data >+.if !defined(NOPORTDATA) > @(cd ${WRKSRC} && ${COPYTREE_SHARE} "gfx music sfx stage" ${DATADIR}) >+.endif > > # Pixmaps and Desktop > ${INSTALL_DATA} ${WRKSRC}/gfx/SB.png ${PREFIX}/share/pixmaps/${PORTNAME}.png >diff -ruN smashbattle.orig/files/smashbattle.in smashbattle/files/smashbattle.in >--- smashbattle.orig/files/smashbattle.in 1970-01-01 01:00:00.000000000 +0100 >+++ smashbattle/files/smashbattle.in 2012-08-09 11:44:00.000000000 +0200 >@@ -0,0 +1,7 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+ >+echo "Smash Battle: Starting up..." >+cd "%%DATADIR%%" >+./smashbattle
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 167855
:
124340
|
124341
| 124342 |
124343
|
124344